CI: build but dont test (for now, transitive dependency issue)
Helps hexops/mach#902 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e52168e273
commit
3ae8ab90c4
1 changed files with 12 additions and 6 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -27,12 +27,14 @@ jobs:
|
|||
run: zig build -Dtarget=x86_64-windows
|
||||
- name: launch xvfb
|
||||
run: Xvfb :99 -screen 0 1680x720x24 > /dev/null 2>&1 &
|
||||
- name: test
|
||||
- name: build
|
||||
run: |
|
||||
sudo add-apt-repository -y ppa:kisak/kisak-mesa
|
||||
sudo apt-get update
|
||||
sudo apt-get install mesa-utils mesa-utils-extra mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers xvfb
|
||||
zig build test
|
||||
zig build
|
||||
# - name: test
|
||||
# run: zig build test
|
||||
x86_64-windows:
|
||||
runs-on: windows-latest
|
||||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||
|
@ -56,8 +58,10 @@ jobs:
|
|||
run: zig build -Dtarget=aarch64-macos
|
||||
- name: x86_64-windows -> x86_64-linux
|
||||
run: zig build -Dtarget=x86_64-linux
|
||||
- name: test
|
||||
run: zig build test
|
||||
- name: build
|
||||
run: zig build
|
||||
# - name: test
|
||||
# run: zig build test
|
||||
x86_64-macos:
|
||||
runs-on: macos-12
|
||||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||
|
@ -73,11 +77,13 @@ jobs:
|
|||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||
brew install xz
|
||||
sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.4410+76f7b40e1.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||
- name: test
|
||||
run: zig build test
|
||||
- name: x86_64-macos -> aarch64-macos
|
||||
run: zig build -Dtarget=aarch64-macos
|
||||
- name: x86_64-macos -> x86_64-windows
|
||||
run: zig build -Dtarget=x86_64-windows
|
||||
- name: x86_64-macos -> x86_64-linux
|
||||
run: zig build -Dtarget=x86_64-linux
|
||||
- name: build
|
||||
run: zig build
|
||||
# - name: test
|
||||
# run: zig build test
|
||||
|
|
Loading…
Add table
Reference in a new issue