Skip to content

Commit 07391b0

Browse files
committed
Update linux.yml
2 parents a3e9376 + 21c4a17 commit 07391b0

File tree

5 files changed

+161
-5
lines changed

5 files changed

+161
-5
lines changed

.github/workflows/linux.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,46 @@ jobs:
1616
sudo apt update
1717
sudo ./install_linux_dependencies.sh
1818
- name: build
19-
run: cmake --build Build
19+
run: |
20+
cd Build
21+
make
2022
# - name: test
2123
# run: cd build && ctest
24+
- name: deploy_test
25+
if: github.ref == 'refs/heads/testing'
26+
env:
27+
bintrayUser: ${{ secrets.bintrayUsername }}
28+
bintrayApiKey: ${{ secrets.bintrayApiKey }}
29+
run: |
30+
git clone --branch linux https://github.com/open-ephys-gui-binaries/open-ephys.git
31+
cp -r open-ephys/shared Build/Release
32+
cp -r open-ephys/plugins/KWIKFormat.so Build/Release/plugins
33+
cp -r open-ephys/plugins/NWBFormat.so Build/Release/plugins
34+
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
35+
cd Build
36+
cp -r Release open-ephys
37+
zipfile=open-ephys-${gui_ver}-linux-beta.zip
38+
zip -r $zipfile open-ephys
39+
user_info="$bintrayUser:$bintrayApiKey"
40+
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-linux/$gui_ver/$zipfile
41+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-linux/$gui_ver/publish
42+
shell: bash
43+
- name: deploy_release
44+
if: github.ref == 'refs/heads/master'
45+
env:
46+
bintrayUser: ${{ secrets.bintrayUsername }}
47+
bintrayApiKey: ${{ secrets.bintrayApiKey }}
48+
run: |
49+
git clone --branch linux https://github.com/open-ephys-gui-binaries/open-ephys.git
50+
cp -r open-ephys/shared Build/Release
51+
cp -r open-ephys/plugins/KWIKFormat.so Build/Release/plugins
52+
cp -r open-ephys/plugins/NWBFormat.so Build/Release/plugins
53+
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
54+
cd Build
55+
cp -r Release open-ephys
56+
zipfile=open-ephys-${gui_ver}-linux.zip
57+
zip -r $zipfile open-ephys
58+
user_info="$bintrayUser:$bintrayApiKey"
59+
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Release/Release-linux/$gui_ver/$zipfile
60+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Release/Release-linux/$gui_ver/publish
61+
shell: bash

.github/workflows/notes.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
powershell Expand-Archive neuropixels-3a.zip -DestinationPath Build/Release
2+
powershell Expand-Archive neuropixels-pxi.zip -DestinationPath Build/Release
3+
powershell Expand-Archive nidaq-plugin.zip -DestinationPath Build/Release
4+
powershell Expand-Archive stream-muxer.zip -DestinationPath Build/Release
5+
powershell Expand-Archive probe-viewer.zip -DestinationPath Build/Release
6+
powershell Expand-Archive zmq-plugins.zip -DestinationPath Build/Release
7+
cp -r open-ephys/shared Build/Release
8+
cp -r open-ephys/plugins/KWIKFormat.dll Build/Release/plugins
9+
cp -r open-ephys/plugins/NWBFormat.dll Build/Release/plugins
10+
gui_ver=0.4.7
11+
zipfile=open-ephys-${gui_ver}-windows.zip
12+
powershell Compress-Archive -Path "Build/Release" -DestinationPath ${zipfile}

.github/workflows/osx.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,46 @@ jobs:
1919
- name: build
2020
run: |
2121
cd Build
22-
xcodebuild -project open-ephys-GUI.xcodeproj -scheme=ALL_BUILD
22+
xcodebuild -project open-ephys-GUI.xcodeproj -scheme=ALL_BUILD -configuration Release
2323
# - name: test
2424
# run: cd build && ctest
25+
- name: deploy_test
26+
if: github.ref == 'refs/heads/testing'
27+
env:
28+
bintrayUser: ${{ secrets.bintrayUsername }}
29+
bintrayApiKey: ${{ secrets.bintrayApiKey }}
30+
run: |
31+
git clone --branch mac https://github.com/open-ephys-gui-binaries/open-ephys.git
32+
cp -r open-ephys/open-ephys.app/Contents/PlugIns/KWIKFormat.bundle Build/Release/open-ephys.app/Contents/PlugIns
33+
cp -r open-ephys/open-ephys.app/Contents/PlugIns/NWBFormat.bundle Build/Release/open-ephys.app/Contents/PlugIns
34+
cp -r open-ephys/open-ephys.app/Contents/shared Build/Release/open-ephys.app/Contents/
35+
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
36+
zipfile=open-ephys-${gui_ver}-mac-beta.zip
37+
cd Build/Release
38+
mkdir open-ephys
39+
mv open-ephys.app/ open-ephys
40+
cp -r ../../open-ephys/DataFiles open-ephys/
41+
zip -r $zipfile open-ephys
42+
user_info="$bintrayUser:$bintrayApiKey"
43+
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-mac/$gui_ver/$zipfile
44+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-mac/$gui_ver/publish
45+
- name: deploy_release
46+
if: github.ref == 'refs/heads/master'
47+
env:
48+
bintrayUser: ${{ secrets.bintrayUsername }}
49+
bintrayApiKey: ${{ secrets.bintrayApiKey }}
50+
run: |
51+
git clone --branch mac https://github.com/open-ephys-gui-binaries/open-ephys.git
52+
cp -r open-ephys/open-ephys.app/Contents/PlugIns/KWIKFormat.bundle Build/Release/open-ephys.app/Contents/PlugIns
53+
cp -r open-ephys/open-ephys.app/Contents/PlugIns/NWBFormat.bundle Build/Release/open-ephys.app/Contents/PlugIns
54+
cp -r open-ephys/open-ephys.app/Contents/shared Build/Release/open-ephys.app/Contents/
55+
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
56+
zipfile=open-ephys-${gui_ver}-mac-beta.zip
57+
cd Build/Release
58+
mkdir open-ephys
59+
mv open-ephys.app/ open-ephys
60+
cp -r ../../open-ephys/DataFiles open-ephys/
61+
zip -r $zipfile open-ephys
62+
user_info="$bintrayUser:$bintrayApiKey"
63+
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-mac/$gui_ver/$zipfile
64+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-mac/$gui_ver/publish

.github/workflows/windows.yml

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,72 @@ jobs:
1717
run: |
1818
cd Build
1919
cmake -G "Visual Studio 16 2019" -A x64 ..
20+
- name: Setup MSBuild.exe
21+
uses: warrenbuckley/Setup-MSBuild@v1
2022
- name: build
21-
run: cmake --build Build
23+
run: |
24+
msbuild Build/ALL_BUILD.vcxproj -p:Configuration=Release -p:Platform=x64
2225
# - name: test
2326
# run: cd build && ctest
24-
27+
- name: deploy_test
28+
if: github.ref == 'refs/heads/testing'
29+
env:
30+
bintrayUser: ${{ secrets.bintrayUsername }}
31+
bintrayApiKey: ${{ secrets.bintrayApiKey }}
32+
run: |
33+
git clone --branch windows https://github.com/open-ephys-gui-binaries/open-ephys.git
34+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/neuropixels-3a/neuropixels-3a-windows_0.1.0-API6.zip --output neuropixels-3a.zip
35+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/neuropixels-pxi/neuropixels-pxi-windows_0.1.0-API6.zip --output neuropixels-pxi.zip
36+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/nidaq-plugin/nidaq-plugin-windows_0.1.0-API6.zip --output nidaq-plugin.zip
37+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/probe-viewer/probe-viewer-windows_0.1.0-API6.zip --output probe-viewer.zip
38+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/StreamMuxer/StreamMuxer-windows_0.1.0-API6.zip --output stream-muxer.zip
39+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/ZMQPlugins/ZMQPlugins-windows_0.1.0-API6.zip --output zmq-plugins.zip
40+
powershell Expand-Archive neuropixels-3a.zip -DestinationPath Build/Release
41+
powershell Expand-Archive neuropixels-pxi.zip -DestinationPath Build/Release
42+
powershell Expand-Archive nidaq-plugin.zip -DestinationPath Build/Release
43+
powershell Expand-Archive stream-muxer.zip -DestinationPath Build/Release
44+
powershell Expand-Archive probe-viewer.zip -DestinationPath Build/Release
45+
powershell Expand-Archive zmq-plugins.zip -DestinationPath Build/Release
46+
cp -r open-ephys/shared Build/Release
47+
cp -r open-ephys/plugins/KWIKFormat.dll Build/Release/plugins
48+
cp -r open-ephys/plugins/NWBFormat.dll Build/Release/plugins
49+
cd Build
50+
mv Release open-ephys
51+
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
52+
zipfile=open-ephys-${gui_ver}-windows-beta.zip
53+
powershell Compress-Archive -Path "open-ephys" -DestinationPath ${zipfile}
54+
user_info="$bintrayUser:$bintrayApiKey"
55+
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-windows/$gui_ver/$zipfile
56+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-windows/$gui_ver/publish
57+
shell: bash
58+
- name: deploy_release
59+
if: github.ref == 'refs/heads/master'
60+
env:
61+
bintrayUser: ${{ secrets.bintrayUsername }}
62+
bintrayApiKey: ${{ secrets.bintrayApiKey }}
63+
run: |
64+
git clone --branch windows https://github.com/open-ephys-gui-binaries/open-ephys.git
65+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/neuropixels-3a/neuropixels-3a-windows_0.1.0-API6.zip --output neuropixels-3a.zip
66+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/neuropixels-pxi/neuropixels-pxi-windows_0.1.0-API6.zip --output neuropixels-pxi.zip
67+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/nidaq-plugin/nidaq-plugin-windows_0.1.0-API6.zip --output nidaq-plugin.zip
68+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/probe-viewer/probe-viewer-windows_0.1.0-API6.zip --output probe-viewer.zip
69+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/StreamMuxer/StreamMuxer-windows_0.1.0-API6.zip --output stream-muxer.zip
70+
curl -L https://dl.bintray.com/open-ephys-gui-plugins/ZMQPlugins/ZMQPlugins-windows_0.1.0-API6.zip --output zmq-plugins.zip
71+
powershell Expand-Archive neuropixels-3a.zip -DestinationPath Build/Release
72+
powershell Expand-Archive neuropixels-pxi.zip -DestinationPath Build/Release
73+
powershell Expand-Archive nidaq-plugin.zip -DestinationPath Build/Release
74+
powershell Expand-Archive stream-muxer.zip -DestinationPath Build/Release
75+
powershell Expand-Archive probe-viewer.zip -DestinationPath Build/Release
76+
powershell Expand-Archive zmq-plugins.zip -DestinationPath Build/Release
77+
cp -r open-ephys/shared Build/Release
78+
cp -r open-ephys/plugins/KWIKFormat.dll Build/Release/plugins
79+
cp -r open-ephys/plugins/NWBFormat.dll Build/Release/plugins
80+
cd Build
81+
mv Release open-ephys
82+
gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1))
83+
zipfile=open-ephys-${gui_ver}-windows-beta.zip
84+
powershell Compress-Archive -Path "open-ephys" -DestinationPath ${zipfile}
85+
user_info="$bintrayUser:$bintrayApiKey"
86+
curl -T $zipfile --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-windows/$gui_ver/$zipfile
87+
curl -X POST --user $user_info https://api.bintray.com/content/open-ephys-gui/Test/Test-windows/$gui_ver/publish
88+
shell: bash

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Open Ephys GUI main build file
22
cmake_minimum_required(VERSION 3.5.0)
33

4-
set(GUI_VERSION 0.4.5)
4+
set(GUI_VERSION 0.4.6)
55

66
string(REGEX MATCHALL "[0-9]+" VERSION_LIST ${GUI_VERSION})
77
set(GUI_VERSION_HEX "0x")

0 commit comments

Comments
 (0)