mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-26 13:38:03 +03:00
Fix deploy dependencies
This commit is contained in:
parent
5e034c6768
commit
a0fce8a3f3
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -53,6 +53,7 @@ jobs:
|
|||||||
mkdir publish\tests
|
mkdir publish\tests
|
||||||
mkdir publish\bin\win32\valve\dlls
|
mkdir publish\bin\win32\valve\dlls
|
||||||
move "msvc\${{ env.buildReleasePlay }}\swds.dll" publish\tests\swds.dll
|
move "msvc\${{ env.buildReleasePlay }}\swds.dll" publish\tests\swds.dll
|
||||||
|
move rehlds\lib\steam_api.dll publish\bin\win32\steam_api.dll
|
||||||
move msvc\${{ env.buildRelease }}\hlds.exe publish\bin\win32\hlds.exe
|
move msvc\${{ env.buildRelease }}\hlds.exe publish\bin\win32\hlds.exe
|
||||||
move msvc\${{ env.buildRelease }}\hltv.exe publish\bin\win32\hltv.exe
|
move msvc\${{ env.buildRelease }}\hltv.exe publish\bin\win32\hltv.exe
|
||||||
move msvc\${{ env.buildRelease }}\swds.dll publish\bin\win32\swds.dll
|
move msvc\${{ env.buildRelease }}\swds.dll publish\bin\win32\swds.dll
|
||||||
@ -107,14 +108,13 @@ jobs:
|
|||||||
chown root ~
|
chown root ~
|
||||||
rsync -a deps/rehlds/* .
|
rsync -a deps/rehlds/* .
|
||||||
mv $GITHUB_WORKSPACE/tests/swds.dll .
|
mv $GITHUB_WORKSPACE/tests/swds.dll .
|
||||||
|
mv $GITHUB_WORKSPACE/bin/win32/steam_api.dll .
|
||||||
|
|
||||||
- name: Play test
|
- name: Play test
|
||||||
env:
|
env:
|
||||||
demo: ${{ matrix.test.file }}
|
demo: ${{ matrix.test.file }}
|
||||||
desc: ${{ matrix.test.desc }}
|
desc: ${{ matrix.test.desc }}
|
||||||
run: |
|
run: ./runTest.sh
|
||||||
mv $GITHUB_WORKSPACE/rehlds/lib/steam_api.dll .
|
|
||||||
./runTest.sh
|
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
name: 'Linux'
|
name: 'Linux'
|
||||||
@ -178,6 +178,7 @@ jobs:
|
|||||||
- name: Move files
|
- name: Move files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p publish/bin/linux32/valve/dlls
|
mkdir -p publish/bin/linux32/valve/dlls
|
||||||
|
mv rehlds/lib/linux32/libsteam_api.so publish/bin/linux32/libsteam_api.so
|
||||||
mv build/rehlds/engine_i486.so publish/bin/linux32/engine_i486.so
|
mv build/rehlds/engine_i486.so publish/bin/linux32/engine_i486.so
|
||||||
mv rehlds/version/appversion.h publish/appversion.h
|
mv rehlds/version/appversion.h publish/appversion.h
|
||||||
mv build/rehlds/dedicated/hlds_linux publish/bin/linux32/hlds_linux
|
mv build/rehlds/dedicated/hlds_linux publish/bin/linux32/hlds_linux
|
||||||
@ -192,6 +193,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
binaries=(
|
binaries=(
|
||||||
"publish/bin/linux32/engine_i486.so"
|
"publish/bin/linux32/engine_i486.so"
|
||||||
|
"publish/bin/linux32/libsteam_api.so"
|
||||||
"publish/bin/linux32/hlds_linux"
|
"publish/bin/linux32/hlds_linux"
|
||||||
"publish/bin/linux32/hltv"
|
"publish/bin/linux32/hltv"
|
||||||
"publish/bin/linux32/core.so"
|
"publish/bin/linux32/core.so"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user