Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Dec 17, 2022
1 parent 0b94201 commit d28e105
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,23 @@ jobs:
fi
shell: bash

- name: Create publish directory
run: |
mkdir -p publish/bin/linux32/cstrike/dlls
- name: Build using Intel C++ Compiler 19.0 (only for release)
if: |
github.event_name == 'release' &&
github.event.action == 'published' &&
startsWith(github.ref, 'refs/tags/')
run: |
rm -rf build-icc && CC=icc CXX=icpc cmake -B build-icc && cmake --build build-icc -j8
mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so
- name: Build using GCC Compiler 9.3
run: |
rm -rf build-gcc && CC=gcc CXX=g++ cmake -B build-gcc && cmake --build build-gcc -j8
mv build-gcc/regamedll/cs.so publish/cs-gcc.so
- name: Prepare CSSDK
run: |
Expand All @@ -192,9 +198,6 @@ jobs:
- name: Move files
run: |
mkdir -p publish/bin/linux32/cstrike/dlls
mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so
mv build-gcc/regamedll/cs.so publish/cs-gcc.so
mv regamedll/version/appversion.h publish/appversion.h
mv dist/ publish/
Expand Down

0 comments on commit d28e105

Please sign in to comment.