mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 15:48:01 +03:00
Update workflows/build.yml
Fix temporarily testdemos
This commit is contained in:
parent
9d9c2de1ff
commit
ff843fe478
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -58,13 +58,12 @@ jobs:
|
|||||||
move msvc\${{ env.buildRelease }}\mp.pdb publish\debug\mp.pdb
|
move msvc\${{ env.buildRelease }}\mp.pdb publish\debug\mp.pdb
|
||||||
|
|
||||||
- name: Deploy artifacts
|
- name: Deploy artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3.1.1
|
||||||
with:
|
with:
|
||||||
name: win32
|
name: win32
|
||||||
path: publish/*
|
path: publish/*
|
||||||
|
|
||||||
testdemos:
|
testdemos:
|
||||||
if: false # TODO: FIXME!!
|
|
||||||
name: 'Test demos (FIXME)'
|
name: 'Test demos (FIXME)'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: s1lentq/testdemos:latest
|
container: s1lentq/testdemos:latest
|
||||||
@ -73,6 +72,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
WINEDEBUG: -all
|
WINEDEBUG: -all
|
||||||
WINEDLLOVERRIDES: mshtml=
|
WINEDLLOVERRIDES: mshtml=
|
||||||
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@ -81,7 +81,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Deploying windows artifacts
|
- name: Deploying windows artifacts
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: win32
|
name: win32
|
||||||
|
|
||||||
@ -146,12 +146,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y clang
|
|
||||||
sudo apt-get install -y gcc-multilib g++-multilib
|
sudo apt-get install -y gcc-multilib g++-multilib
|
||||||
|
|
||||||
- name: Build and Run unittests
|
- name: Build and Run unittests
|
||||||
run: |
|
run: |
|
||||||
rm -rf build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Unittests -B build && cmake --build build -j8
|
rm -rf build && CC=gcc CXX=g++ cmake -DCMAKE_BUILD_TYPE=Unittests -B build && cmake --build build -j8
|
||||||
retVal=0
|
retVal=0
|
||||||
./build/regamedll/cs 2> /dev/null > result.log || retVal=$?
|
./build/regamedll/cs 2> /dev/null > result.log || retVal=$?
|
||||||
while read line; do
|
while read line; do
|
||||||
@ -172,9 +171,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build using Clang C++ Compiler
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
rm -rf build && CC=clang CXX=clang++ cmake -B build && cmake --build build -j8
|
rm -rf build && CC=gcc CXX=g++ cmake -B build && cmake --build build -j8
|
||||||
|
|
||||||
- name: Prepare CSSDK
|
- name: Prepare CSSDK
|
||||||
run: |
|
run: |
|
||||||
@ -200,7 +199,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Deploy artifacts
|
- name: Deploy artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3.1.1
|
||||||
id: upload-job
|
id: upload-job
|
||||||
with:
|
with:
|
||||||
name: linux32
|
name: linux32
|
||||||
@ -219,12 +218,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Deploying linux artifacts
|
- name: Deploying linux artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux32
|
name: linux32
|
||||||
|
|
||||||
- name: Deploying windows artifacts
|
- name: Deploying windows artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: win32
|
name: win32
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user