glfw: ci: don't run tests when cross-compiling
This commit is contained in:
parent
f3e9d7bd71
commit
6d7a7db0e9
2 changed files with 12 additions and 12 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -18,15 +18,15 @@ jobs:
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.1350+bbab4beda.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.1350+bbab4beda.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: x86_64-linux -> x86_64-macos
|
- name: x86_64-linux -> x86_64-macos
|
||||||
run: zig build test -Dtarget=x86_64-macos
|
run: zig build -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-linux -> aarch64-macos
|
- name: x86_64-linux -> aarch64-macos
|
||||||
run: zig build test -Dtarget=aarch64-macos
|
run: zig build -Dtarget=aarch64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-linux -> x86_64-windows
|
- name: x86_64-linux -> x86_64-windows
|
||||||
run: zig build test -Dtarget=x86_64-windows
|
run: zig build -Dtarget=x86_64-windows
|
||||||
- name: launch xvfb
|
- name: launch xvfb
|
||||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||||
- name: test
|
- name: test
|
||||||
|
@ -51,15 +51,15 @@ jobs:
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.1350+bbab4beda\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.11.0-dev.1350+bbab4beda\"
|
||||||
- name: x86_64-windows -> x86_64-macos
|
- name: x86_64-windows -> x86_64-macos
|
||||||
run: zig build test -Dtarget=x86_64-macos
|
run: zig build -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-windows -> aarch64-macos
|
- name: x86_64-windows -> aarch64-macos
|
||||||
run: zig build test -Dtarget=aarch64-macos
|
run: zig build -Dtarget=aarch64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-windows -> x86_64-linux
|
- name: x86_64-windows -> x86_64-linux
|
||||||
run: zig build test -Dtarget=x86_64-linux
|
run: zig build -Dtarget=x86_64-linux
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
|
@ -80,10 +80,10 @@ jobs:
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-macos -> aarch64-macos
|
- name: x86_64-macos -> aarch64-macos
|
||||||
run: zig build test -Dtarget=aarch64-macos
|
run: zig build -Dtarget=aarch64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: x86_64-macos -> x86_64-windows
|
- name: x86_64-macos -> x86_64-windows
|
||||||
run: zig build test -Dtarget=x86_64-windows
|
run: zig build -Dtarget=x86_64-windows
|
||||||
- name: x86_64-macos -> x86_64-linux
|
- name: x86_64-macos -> x86_64-linux
|
||||||
run: zig build test -Dtarget=x86_64-linux
|
run: zig build -Dtarget=x86_64-linux
|
||||||
|
|
6
.github/workflows/m1_ci.yml
vendored
6
.github/workflows/m1_ci.yml
vendored
|
@ -26,10 +26,10 @@ jobs:
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: aarch64-macos -> x86_64-macos
|
- name: aarch64-macos -> x86_64-macos
|
||||||
run: zig build test -Dtarget=x86_64-macos
|
run: zig build -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: aarch64-macos -> x86_64-windows
|
- name: aarch64-macos -> x86_64-windows
|
||||||
run: zig build test -Dtarget=x86_64-windows
|
run: zig build -Dtarget=x86_64-windows
|
||||||
- name: aarch64-macos -> x86_64-linux
|
- name: aarch64-macos -> x86_64-linux
|
||||||
run: zig build test -Dtarget=x86_64-linux
|
run: zig build -Dtarget=x86_64-linux
|
||||||
|
|
Loading…
Add table
Reference in a new issue