-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the GitHub Action workflow to align with recent project changes.
- Loading branch information
1 parent
6231125
commit a238bc9
Showing
2 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,6 @@ name: Build | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- wwise_v2023.1 | ||
- wwise_v2024.1 | ||
pull_request: | ||
branches: | ||
- main | ||
|
@@ -30,7 +26,6 @@ jobs: | |
os: "windows-2022" | ||
sdk-platform: windows | ||
scons-platform: windows | ||
release-flags: use_static_cpp=true | ||
artifact-name: windows | ||
|
||
- name: macOS | ||
|
@@ -120,7 +115,7 @@ jobs: | |
if: runner.os == 'Linux' && matrix.sdk-platform == 'linux' | ||
run: | | ||
sudo apt-get install build-essential pkg-config libx11-dev \ | ||
yasm zip unzip p7zip-full p7zip-rar | ||
yasm zip unzip p7zip-full p7zip-rar gcc-10 g++-10 libtbb-dev | ||
- name: Download Wwise SDK (Base) | ||
uses: suisei-cn/[email protected] | ||
|
@@ -204,7 +199,7 @@ jobs: | |
7z x wwise_sdk_2024.1.0_android.zip | ||
cd ../../../../ | ||
- name: Compile Editor library | ||
- name: Compile editor library | ||
if: matrix.sdk-platform != 'android' && matrix.sdk-platform != 'ios' | ||
shell: bash | ||
env: | ||
|
@@ -213,29 +208,29 @@ jobs: | |
run: | | ||
cd addons/Wwise/native | ||
mkdir -p godot-cpp/bin | ||
scons platform=${{ matrix.scons-platform }} target=editor debug_symbols=yes wwise_sdk=wwise_sdk -j6 ${{ matrix.debug-flags }} | ||
scons platform=${{ matrix.scons-platform }} target=editor wwise_config=profile use_static_cpp=yes wwise_sdk=wwise_sdk | ||
cd ../../../ | ||
- name: Compile Debug library | ||
- name: Compile template_debug library | ||
if: matrix.sdk-platform != 'android' | ||
shell: bash | ||
env: | ||
SCONS_CACHE: ${{github.workspace}}/.scons_cache/ | ||
SCONS_CACHE_LIMIT: 7168 | ||
run: | | ||
cd addons/Wwise/native | ||
scons platform=${{ matrix.scons-platform }} target=template_debug dev_build=yes debug_symbols=yes asserts=yes wwise_sdk=wwise_sdk -j6 ${{ matrix.debug-flags }} | ||
scons platform=${{ matrix.scons-platform }} target=template_debug wwise_config=profile use_static_cpp=yes wwise_sdk=wwise_sdk ${{ matrix.debug-flags }} | ||
cd ../../../ | ||
- name: Compile Release library | ||
- name: Compile template_release library | ||
if: matrix.sdk-platform != 'android' | ||
shell: bash | ||
env: | ||
SCONS_CACHE: ${{github.workspace}}/.scons_cache/ | ||
SCONS_CACHE_LIMIT: 7168 | ||
run: | | ||
cd addons/Wwise/native | ||
scons platform=${{ matrix.scons-platform }} target=template_release wwise_sdk=wwise_sdk -j6 ${{ matrix.release-flags }} | ||
scons platform=${{ matrix.scons-platform }} target=template_release wwise_config=release use_static_cpp=yes wwise_sdk=wwise_sdk ${{ matrix.release-flags }} | ||
cd ../../../ | ||
- name: Compile Android libraries | ||
|
@@ -311,13 +306,9 @@ jobs: | |
rm ./README.md | ||
rm .gitattributes | ||
rm .gitmodules | ||
rm project.godot | ||
rm -r ./.git | ||
rm -r ./.github | ||
rm -r ./addons/Wwise/tests | ||
mkdir -p GeneratedSoundBanks | ||
cp addons/Wwise/tools/wwise_ids.template GeneratedSoundBanks/wwise_ids.gd | ||
rm -r ./addons/Wwise/tools | ||
rm -r ./tests | ||
- name: Upload final artifact | ||
uses: actions/upload-artifact@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters