diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-07-19 09:13:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-19 09:13:48 +0200 |
| commit | 3e0e4583cb1c12163b0c98154f383db9f4269e52 (patch) | |
| tree | 24cb5d5b233fe57dd192837687d8028f0596b085 /.github/workflows/build.yml | |
| parent | 881913e78d032c159044b9bb9475d41566750e83 (diff) | |
Linux ci (#816)
* turn off sized deallocation on desktop
* add an easy launch script and tar it
to keep the +x bit
* too many spaces
* add os name and fix linux deploy
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b2ffc53..f29872bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -184,8 +184,14 @@ jobs: cp ./bass/libs/armeabi-v7a/libbassopus.so ./android/libs/armeabi-v7a/ - name: qmake + if: matrix.platform != 'android' run: | - qmake DEFINES+=DISCORD CONFIG+=install_ok QT_PLATFORM=${{matrix.platform}} ANDROID_ABIS="armeabi-v7a" + qmake QMAKE_CXXFLAGS+="-fno-sized-deallocation" DEFINES+=DISCORD CONFIG+=install_ok QT_PLATFORM=${{matrix.platform}} + + - name: qmake android + if: matrix.platform == 'android' + run: | + qmake CONFIG+=install_ok QT_PLATFORM=${{matrix.platform}} ANDROID_ABIS="armeabi-v7a" - name: build run: | @@ -210,6 +216,19 @@ jobs: rm -r bearer rm -r styles + - name: Deploy Linux + if: matrix.platform == 'gcc_64' + working-directory: ${{github.workspace}}/bin/ + shell: bash + run: | + cp ../scripts/launch.sh . + chmod +x launch.sh + chmod +x Attorney_Online + tar -cf Attorney_Online.tar ./* + rm *.so + rm *.sh + rm Attorney_Online + - name: Deploy Mac if: matrix.os == 'macos-latest' working-directory: ${{github.workspace}}/bin/ @@ -240,5 +259,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@master with: - name: Attorney_Online-${{matrix.platform}} + name: Attorney_Online-${{matrix.os}}-${{matrix.platform}} path: ${{github.workspace}}/bin/ |
