source-engine/.github/workflows/tests.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2022-08-17 08:22:05 +00:00
name: Tests
2022-12-16 16:47:53 +00:00
on: [push, pull_request]
2022-08-17 08:22:05 +00:00
jobs:
tests-linux-i386:
2023-04-05 22:27:17 +00:00
runs-on: ubuntu-20.04
2022-08-17 08:22:05 +00:00
steps:
- uses: actions/checkout@v2
- name: Run tests linux-i386
run: |
scripts/tests-ubuntu-i386.sh
tests-linux-amd64:
2023-04-05 22:27:17 +00:00
runs-on: ubuntu-20.04
2022-08-17 08:22:05 +00:00
steps:
- uses: actions/checkout@v2
- name: Run tests linux-amd64
run: |
scripts/tests-ubuntu-amd64.sh
tests-windows-i386:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Run tests windows-i386
run: |
git submodule init && git submodule update
./waf.bat configure -T release --tests --prefix=out/
./waf.bat install
cd out
$env:Path = "bin";
./unittest.exe
tests-windows-amd64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Run tests windows-amd64
run: |
git submodule init && git submodule update
./waf.bat configure -T release --tests --prefix=out/ -8
./waf.bat install
cd out
$env:Path = "bin";
./unittest.exe