File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 4747 with :
4848 name : godot-steam-audio-demo-${{ env.COMMIT_SHORT_SHA }}
4949 path : ${{ github.workspace }}/godot-steam-audio-demo/
50+ build-macos-release :
51+ runs-on : macos-latest
52+ steps :
53+ - uses : actions/checkout@v4
54+ with :
55+ submodules : recursive
56+ - name : Set short git commit SHA
57+ id : vars
58+ run : |
59+ echo "COMMIT_SHORT_SHA=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
60+ - uses : actions/setup-python@v5
61+ - name : install-deps
62+ run : |
63+ # install scons
64+ PIP_BREAK_SYSTEM_PACKAGES=1 python -m pip install scons==4.4.0
65+ scons --version
66+ curl -LO https://github.com/ValveSoftware/steam-audio/releases/download/v4.8.0/steamaudio_4.8.0.zip
67+ unzip steamaudio_4.8.0.zip 'steamaudio/lib/**/*' -d src/lib
68+ cp -r src/lib/steamaudio/lib/osx/* project/addons/godot-steam-audio/bin/
69+ - name : build-ext
70+ run : |
71+ make macos-release
72+ - uses : actions/upload-artifact@v4
73+ with :
74+ name : godot-steam-audio-macos-${{ env.COMMIT_SHORT_SHA }}
75+ path : ${{ github.workspace }}/godot-steam-audio/
76+ - uses : actions/upload-artifact@v4
77+ with :
78+ name : godot-steam-audio-demo-macos-${{ env.COMMIT_SHORT_SHA }}
79+ path : ${{ github.workspace }}/godot-steam-audio-demo/
Original file line number Diff line number Diff line change @@ -13,8 +13,16 @@ install-steam-audio:
1313release :
1414 scons platform=android arch=arm64 target=template_release && scons platform=android arch=x86_64 target=template_release && \
1515 scons platform=android arch=arm64 target=template_debug && scons platform=android arch=x86_64 target=template_debug && \
16- scons platform=linux target=template_debug && scons platform=windows target=template_debug && scons platform=macos target=template_debug && \
17- scons platform=linux target=template_release && scons platform=windows target=template_release && scons platform=macos target=template_release
16+ scons platform=linux target=template_debug && scons platform=windows target=template_debug && \
17+ scons platform=linux target=template_release && scons platform=windows target=template_release
18+ mkdir godot-steam-audio-demo
19+ mkdir godot-steam-audio
20+ cp -r ./project/* ./godot-steam-audio-demo
21+ rm -rf ./godot-steam-audio-demo/addons/godot-steam-audio/bin/libphonon.so.dbg
22+ cp -r ./godot-steam-audio-demo/addons ./godot-steam-audio
23+
24+ macos-release :
25+ scons platform=macos target=template_debug && scons platform=macos target=template_release
1826 mkdir godot-steam-audio-demo
1927 mkdir godot-steam-audio
2028 cp -r ./project/* ./godot-steam-audio-demo
You can’t perform that action at this time.
0 commit comments