mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-04-20 01:47:19 +00:00
Merge 4ada22d3e9
into 29985681a1
This commit is contained in:
commit
0137dba366
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -109,3 +109,12 @@ jobs:
|
|||||||
- name: Build dedicated macos-amd64
|
- name: Build dedicated macos-amd64
|
||||||
run: |
|
run: |
|
||||||
scripts/build-macos-amd64.sh -d
|
scripts/build-macos-amd64.sh -d
|
||||||
|
|
||||||
|
build-macos-arm64:
|
||||||
|
runs-on: macos-14
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build macos-arm64
|
||||||
|
run: |
|
||||||
|
scripts/build-macos-arm64.sh
|
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -30,6 +30,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
scripts/tests-macos-amd64.sh
|
scripts/tests-macos-amd64.sh
|
||||||
|
|
||||||
|
tests-macos-arm64:
|
||||||
|
runs-on: macos-14
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run tests macos-arm64
|
||||||
|
run: |
|
||||||
|
scripts/tests-macos-arm64.sh
|
||||||
|
|
||||||
tests-windows-i386:
|
tests-windows-i386:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
8
scripts/build-macos-arm64.sh
Executable file
8
scripts/build-macos-arm64.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git submodule init && git submodule update
|
||||||
|
|
||||||
|
brew install sdl2 freetype2 fontconfig pkg-config opus libpng libedit
|
||||||
|
|
||||||
|
python3 ./waf configure -T debug --disable-warns $* &&
|
||||||
|
python3 ./waf build
|
7
scripts/tests-macos-arm64.sh
Executable file
7
scripts/tests-macos-arm64.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git submodule init && git submodule update
|
||||||
|
python3 ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
|
||||||
|
python3 ./waf install &&
|
||||||
|
cd out &&
|
||||||
|
DYLD_LIBRARY_PATH=bin/ ./unittest || exit 1
|
Loading…
Reference in New Issue
Block a user