mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-29 08:05:46 +03:00
CI: Keep the ICC
build for releases only (#800)
This commit is contained in:
parent
5dec3bad32
commit
889edc81bf
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -173,7 +173,11 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build using Intel C++ Compiler 19.0
|
- 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: |
|
run: |
|
||||||
rm -rf build-icc && CC=icc CXX=icpc cmake -B build-icc && cmake --build build-icc -j8
|
rm -rf build-icc && CC=icc CXX=icpc cmake -B build-icc && cmake --build build-icc -j8
|
||||||
|
|
||||||
@ -189,7 +193,7 @@ jobs:
|
|||||||
- name: Move files
|
- name: Move files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p publish/bin/linux32/cstrike/dlls
|
mkdir -p publish/bin/linux32/cstrike/dlls
|
||||||
mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so
|
mv build-icc/regamedll/cs.so publish/bin/linux32/cstrike/dlls/cs.so 2>/dev/null || true
|
||||||
mv build-gcc/regamedll/cs.so publish/cs-gcc.so
|
mv build-gcc/regamedll/cs.so publish/cs-gcc.so
|
||||||
mv regamedll/version/appversion.h publish/appversion.h
|
mv regamedll/version/appversion.h publish/appversion.h
|
||||||
mv dist/ publish/
|
mv dist/ publish/
|
||||||
|
Loading…
Reference in New Issue
Block a user