Re-added github workflows
This commit is contained in:
parent
9cdefa6deb
commit
678c835331
2 changed files with 170 additions and 0 deletions
111
.github/workflows/build.yml
vendored
Normal file
111
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,111 @@
|
||||||
|
name: Build
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-linux-i386:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build linux-i386
|
||||||
|
run: |
|
||||||
|
scripts/build-ubuntu-i386.sh
|
||||||
|
|
||||||
|
build-linux-amd64:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build linux-amd64
|
||||||
|
run: |
|
||||||
|
scripts/build-ubuntu-amd64.sh
|
||||||
|
|
||||||
|
build-android-armv7a:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build android-armv7a
|
||||||
|
run: |
|
||||||
|
scripts/build-android-armv7a.sh
|
||||||
|
|
||||||
|
build-windows-i386:
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build windows-i386
|
||||||
|
run: |
|
||||||
|
git submodule init && git submodule update
|
||||||
|
./waf.bat configure -T debug --32bits
|
||||||
|
./waf.bat build
|
||||||
|
|
||||||
|
build-windows-amd64:
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build windows-amd64
|
||||||
|
run: |
|
||||||
|
git submodule init && git submodule update
|
||||||
|
./waf.bat configure -T debug
|
||||||
|
./waf.bat build
|
||||||
|
|
||||||
|
build-dedicated-windows-i386:
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build dedicated windows-i386
|
||||||
|
run: |
|
||||||
|
git submodule init && git submodule update
|
||||||
|
./waf.bat configure -T debug -d
|
||||||
|
./waf.bat build
|
||||||
|
|
||||||
|
build-dedicated-windows-amd64:
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build dedicated windows-amd64
|
||||||
|
run: |
|
||||||
|
git submodule init && git submodule update
|
||||||
|
./waf.bat configure -T debug -d
|
||||||
|
./waf.bat build
|
||||||
|
|
||||||
|
build-dedicated-linux-i386:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build dedicated linux-i386
|
||||||
|
run: |
|
||||||
|
scripts/build-ubuntu-i386.sh -d
|
||||||
|
|
||||||
|
build-dedicated-linux-amd64:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build dedicated linux-amd64
|
||||||
|
run: |
|
||||||
|
scripts/build-ubuntu-amd64.sh -d
|
||||||
|
|
||||||
|
build-macos-amd64:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build macos-amd64
|
||||||
|
run: |
|
||||||
|
scripts/build-macos-amd64.sh
|
||||||
|
|
||||||
|
build-dedicated-macos-amd64:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build dedicated macos-amd64
|
||||||
|
run: |
|
||||||
|
scripts/build-macos-amd64.sh -d
|
59
.github/workflows/tests.yml
vendored
Normal file
59
.github/workflows/tests.yml
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
name: Tests
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests-linux-i386:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run tests linux-i386
|
||||||
|
run: |
|
||||||
|
scripts/tests-ubuntu-i386.sh
|
||||||
|
|
||||||
|
tests-linux-amd64:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run tests linux-amd64
|
||||||
|
run: |
|
||||||
|
scripts/tests-ubuntu-amd64.sh
|
||||||
|
|
||||||
|
tests-macos-amd64:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run tests macos-amd64
|
||||||
|
run: |
|
||||||
|
scripts/tests-macos-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/ --32bits
|
||||||
|
./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/
|
||||||
|
./waf.bat install
|
||||||
|
cd out
|
||||||
|
$env:Path = "bin";
|
||||||
|
./unittest.exe
|
Loading…
Add table
Reference in a new issue