Skip to content

Commit

Permalink
Add Linux (regular + experimental) builds to the releases (#76)
Browse files Browse the repository at this point in the history
* Add a Linux64 Experimental build

* Release Linux builds

* Package Linux releases as tarballs; fix permissions lost in the zip
  • Loading branch information
mikeage authored Apr 2, 2021
1 parent 58d37c3 commit 0806a06
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ jobs:
- name: Linux SteamVR
targetPlatform: StandaloneLinux64
vrsdk: SteamVR
- name: Linux SteamVR Experimental
targetPlatform: StandaloneLinux64
vrsdk: SteamVR
extraoptions: -btb-experimental
- name: Linux Monoscopic
targetPlatform: StandaloneLinux64
vrsdk: Monoscopic
Expand Down Expand Up @@ -305,6 +309,18 @@ jobs:
name: Windows SteamVR Experimental
path: build_windows_steamvr_experimental

- name: Download Build Artifacts (Linux SteamVR)
uses: actions/download-artifact@v2
with:
name: Linux SteamVR
path: build_linux_steamvr

- name: Download Build Artifacts (Linux SteamVR Experimental)
uses: actions/download-artifact@v2
with:
name: Linux SteamVR Experimental
path: build_linux_steamvr_experimental

- name: Download Build Artifacts (Oculus Quest)
uses: actions/download-artifact@v2
with:
Expand All @@ -326,11 +342,19 @@ jobs:
mv build_oculus_quest_experimental/*/com.Icosa.OpenBrush*apk releases/OpenBrush_Quest_Experimental_$VERSION.apk
mv build_windows_steamvr/StandaloneWindows64-SteamVR/ releases/OpenBrush_Desktop_$VERSION/
mv build_windows_steamvr_experimental/StandaloneWindows64-SteamVR/ releases/OpenBrush_Desktop_Experimental_$VERSION/
mv build_linux_steamvr/StandaloneLinux64-SteamVR/ releases/OpenBrush_Linux_$VERSION/
mv build_linux_steamvr_experimental/StandaloneLinux64-SteamVR/ releases/OpenBrush_Linux_Experimental_$VERSION/
cd releases
zip -r OpenBrush_Desktop_$VERSION.zip OpenBrush_Desktop_$VERSION/
zip -r OpenBrush_Desktop_Experimental_$VERSION.zip OpenBrush_Desktop_Experimental_$VERSION/
chmod a+x OpenBrush_Linux_$VERSION/OpenBrush || chmod a+x OpenBrush_Linux_$VERSION/OpenBrush-github
tar cvfz OpenBrush_Linux_$VERSION.tgz OpenBrush_Linux_$VERSION/
chmod a+x OpenBrush_Linux_Experimental_$VERSION/OpenBrush || chmod a+x OpenBrush_Linux_Experimental_$VERSION/OpenBrush-github
tar cvfz OpenBrush_Linux_Experimental_$VERSION.tgz OpenBrush_Linux_Experimental_$VERSION/
rm -rf OpenBrush_Desktop_$VERSION
rm -rf OpenBrush_Desktop_Experimental_$VERSION
rm -rf OpenBrush_Linux_$VERSION
rm -rf OpenBrush_Linux_Experimental_$VERSION
- name: Publish
uses: softprops/action-gh-release@v1
env:
Expand Down

0 comments on commit 0806a06

Please sign in to comment.