File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: linux
22
33on :
44 push :
5- branches : [main,juce8,testing-juce8 ]
5+ branches : [main]
66 pull_request :
77
88env :
@@ -17,23 +17,12 @@ jobs:
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v4
20-
21- - name : set env vars
22- run : |
23- if [ ${{github.ref_name}} == 'juce8' ]; then
24- echo "GUI_BRANCH=development-juce8" >> "$GITHUB_ENV"
25- elif [ ${{github.ref_name}} == 'testing-juce8' ]; then
26- echo "GUI_BRANCH=testing-juce8" >> "$GITHUB_ENV"
27- else
28- echo "Invalid branch : ${{github.ref_name}}"
29- exit 1
30- fi
3120
3221 - name : setup
3322 run : |
3423 sudo apt update
3524 cd ../..
36- git clone https://github.com/open-ephys/plugin-GUI.git --branch $GUI_BRANCH
25+ git clone https://github.com/open-ephys/plugin-GUI.git --branch main
3726 sudo ./plugin-GUI/Resources/Scripts/install_linux_dependencies.sh
3827 cd plugin-GUI/Build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
3928
4534 make
4635
4736 - name : deploy
48- if : github.ref == 'refs/heads/testing-juce8 ' && steps.build.outcome == 'success'
37+ if : github.ref == 'refs/heads/main ' && steps.build.outcome == 'success'
4938 run : |
5039 plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)
5140 tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: mac
22
33on :
44 push :
5- branches : [main,juce8,testing-juce8 ]
5+ branches : [main]
66 pull_request :
77
88env :
@@ -17,22 +17,11 @@ jobs:
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v4
20-
21- - name : set env vars
22- run : |
23- if [ ${{github.ref_name}} == 'juce8' ]; then
24- echo "GUI_BRANCH=development-juce8" >> "$GITHUB_ENV"
25- elif [ ${{github.ref_name}} == 'testing-juce8' ]; then
26- echo "GUI_BRANCH=testing-juce8" >> "$GITHUB_ENV"
27- else
28- echo "Invalid branch : ${{github.ref_name}}"
29- exit 1
30- fi
3120
3221 - name : setup
3322 run : |
3423 cd ../..
35- git clone https://github.com/open-ephys/plugin-GUI.git --branch $GUI_BRANCH
24+ git clone https://github.com/open-ephys/plugin-GUI.git --branch main
3625 cd plugin-GUI/Build && cmake -G "Xcode" ..
3726
3827 - name : build
4332 xcodebuild -configuration Release
4433
4534 - name : deploy
46- if : github.ref == 'refs/heads/testing-juce8 ' && steps.build.outcome == 'success'
35+ if : github.ref == 'refs/heads/main ' && steps.build.outcome == 'success'
4736 env :
4837 MACOS_CERTIFICATE : ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
4938 MACOS_CERTIFICATE_PWD : ${{ secrets.BUILD_CERTIFICATE_PWD }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Windows
22
33on :
44 push :
5- branches : [main,juce8,testing-juce8 ]
5+ branches : [main]
66 pull_request :
77
88env :
@@ -17,29 +17,15 @@ jobs:
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v4
20-
21- - name : set env vars
22- run : |
23- if [ ${{github.ref_name}} == 'juce8' ]; then
24- echo "GUI_BRANCH=development-juce8" >> "$GITHUB_ENV"
25- echo "GUI_LIB_VERSION=v1.0.0-dev" >> "$GITHUB_ENV"
26- elif [ ${{github.ref_name}} == 'testing-juce8' ]; then
27- echo "GUI_BRANCH=testing-juce8" >> "$GITHUB_ENV"
28- echo "GUI_LIB_VERSION=v1.0.0-alpha" >> "$GITHUB_ENV"
29- else
30- echo "Invalid branch : ${{github.ref_name}}"
31- exit 1
32- fi
33- shell : bash
3420
3521 - name : setup
3622 run : |
3723 cd ../..
38- git clone https://github.com/open-ephys/plugin-GUI.git --branch $GUI_BRANCH
24+ git clone https://github.com/open-ephys/plugin-GUI.git --branch main
3925 cd plugin-GUI/Build
4026 cmake -G "Visual Studio 17 2022" -A x64 ..
4127 mkdir Release && cd Release
42- curl -L https://openephys.jfrog.io/artifactory/GUI-binaries/Libraries/open-ephys-lib-$GUI_LIB_VERSION .zip --output open-ephys-lib.zip
28+ curl -L https://openephys.jfrog.io/artifactory/GUI-binaries/Libraries/open-ephys-lib-v1.0.0 .zip --output open-ephys-lib.zip
4329 unzip open-ephys-lib.zip
4430 shell : bash
4531
6046 shell : cmd
6147
6248 - name : deploy
63- if : github.ref == 'refs/heads/testing-juce8 ' && steps.build.outcome == 'success'
49+ if : github.ref == 'refs/heads/main ' && steps.build.outcome == 'success'
6450 run : |
6551 plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)
6652 tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")
You can’t perform that action at this time.
0 commit comments