More improvements to actions

* Better naming for "preparing snapshot".
* Strip debug info on linux builds for artifact, to make smaller.
This commit is contained in:
Jammyjamjamman 2021-06-20 22:56:41 +01:00
parent d18cbac6d4
commit 367c6e61ec
1 changed files with 6 additions and 4 deletions

View File

@ -38,8 +38,11 @@ jobs:
CXX: clang++
run: mk/linux/build-mg.sh
- name: Get Additional Dependencies
run: cp mk/shared/*.ini mk/linux/
- name: Prepare Snapshot
if: ${{ matrix.compiler == 'gcc' && matrix.os == 'ubuntu-latest' }}
run: |
cp mk/shared/*.ini mk/linux/
strip -g mk/linux/megaglest mk/linux/megaglest_editor mk/linux/megaglest_g3dviewer
- name: Create Mega Glest Snapshot
if: ${{ matrix.compiler == 'gcc' && matrix.os == 'ubuntu-latest' }}
@ -119,8 +122,7 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config Release --target ALL_BUILD
- name: Get Additional Dependencies
# Make a copy of 7z.exe
- name: Prepare Snapshot
run: |
cd mk/windoze
cp ..\shared\*.ini .