diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d3d0833..674fa69 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,12 +13,14 @@ jobs: os: [ubuntu-20.04] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: setup run: | sudo apt update cd ../.. - git clone https://github.com/open-ephys/plugin-GUI.git --branch main + git clone https://github.com/open-ephys/plugin-GUI.git --branch development-juce8 sudo ./plugin-GUI/Resources/Scripts/install_linux_dependencies.sh cd plugin-GUI/Build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. - name: build @@ -29,7 +31,7 @@ jobs: # - name: test # run: cd build && ctest - name: deploy - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/juce8' env: artifactoryApiKey: ${{ secrets.artifactoryApiKey }} build_dir: "Build" diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index a20d6b4..d3757e1 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -13,12 +13,17 @@ jobs: os: [macos-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: setup run: | cd ../.. - git clone https://github.com/open-ephys/plugin-GUI.git --branch main + git clone https://github.com/open-ephys/plugin-GUI.git --branch development-juce8 cd plugin-GUI/Build && cmake -G "Xcode" .. + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable - name: build run: | cd Build @@ -27,7 +32,7 @@ jobs: # - name: test # run: cd build && ctest - name: deploy - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/juce8' env: artifactoryApiKey: ${{ secrets.artifactoryApiKey }} build_dir: "Build/Release" @@ -36,9 +41,11 @@ jobs: plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]" | tail -1) tag=$(git describe --tags $(git rev-list --tags --max-count=1)) new_plugin_ver=$tag-API$plugin_api + mkdir shared cp -r $build_dir/*.dylib shared cp -r libs/macos/bin/* shared + zipfile=${package}_${new_plugin_ver}.zip zip -r -X $zipfile shared curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysHDF5Lib-plugin/mac/$zipfile" \ No newline at end of file diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2a03efa..0ad6c78 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -13,18 +13,20 @@ jobs: os: [windows-2019] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: setup env: repo: open-ephys-gui package: "open-ephys-lib" run: | cd ../.. - git clone https://github.com/open-ephys/plugin-GUI.git --branch main + git clone https://github.com/open-ephys/plugin-GUI.git --branch development-juce8 cd plugin-GUI/Build cmake -G "Visual Studio 16 2019" -A x64 .. mkdir Release && cd Release - curl -L https://openephysgui.jfrog.io/artifactory/Libraries/open-ephys-lib-v0.6.0.zip --output open-ephys-lib.zip + curl -L https://openephysgui.jfrog.io/artifactory/Libraries/open-ephys-lib-v0.7.0.zip --output open-ephys-lib.zip unzip open-ephys-lib.zip shell: bash - name: configure @@ -42,7 +44,7 @@ jobs: # - name: test # run: cd build && ctest - name: deploy - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/juce8' env: artifactoryApiKey: ${{ secrets.artifactoryApiKey }} build_dir: "Build/Release"