CI: more explicitly denote cross-compilation targets
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
49f80de6ab
commit
d0c55db017
2 changed files with 12 additions and 12 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -21,15 +21,15 @@ jobs:
|
|||
sudo apt install xz-utils
|
||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.1600+af844931b.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||
- name: x86_64-linux -> x86_64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-macos.12-gnu
|
||||
env:
|
||||
AGREE: true
|
||||
- name: x86_64-linux -> aarch64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=aarch64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=aarch64-macos.12-gnu
|
||||
env:
|
||||
AGREE: true
|
||||
- name: x86_64-linux -> x86_64-windows
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-windows
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-windows-gnu
|
||||
- name: launch xvfb
|
||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||
- name: test
|
||||
|
|
@ -59,15 +59,15 @@ jobs:
|
|||
7z x zig.zip
|
||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.1600+af844931b\"
|
||||
- name: x86_64-windows -> x86_64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-macos.12-gnu
|
||||
env:
|
||||
AGREE: true
|
||||
- name: x86_64-windows -> aarch64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=aarch64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=aarch64-macos.12-gnu
|
||||
env:
|
||||
AGREE: true
|
||||
- name: x86_64-windows -> x86_64-linux
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-linux
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-linux-gnu
|
||||
- name: test
|
||||
run: cd ${{ matrix.project }} && zig build test
|
||||
x86_64-macos:
|
||||
|
|
@ -91,10 +91,10 @@ jobs:
|
|||
env:
|
||||
AGREE: true
|
||||
- name: x86_64-macos -> aarch64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=aarch64-macos
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=aarch64-macos.12-gnu
|
||||
env:
|
||||
AGREE: true
|
||||
- name: x86_64-macos -> x86_64-windows
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-windows
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-windows-gnu
|
||||
- name: x86_64-macos -> x86_64-linux
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-linux
|
||||
run: cd ${{ matrix.project }} && zig build test -Dtarget=x86_64-linux-gnu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue