gpu-dawn: CI: use Zig libc versions not the system versions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
609a49c7dc
commit
d8a00bd672
2 changed files with 7 additions and 7 deletions
10
gpu-dawn/.github/workflows/ci.yml
vendored
10
gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
run: zig build install -Dfrom-source=true
|
run: zig build install -Dfrom-source=true -Dtarget=x86_64-linux
|
||||||
- name: upload (debug)
|
- name: upload (debug)
|
||||||
run: |
|
run: |
|
||||||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_linux-x86_64_debug.a
|
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_linux-x86_64_debug.a
|
||||||
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Dfrom-source=true -Drelease-fast=true
|
run: zig build install -Dfrom-source=true -Drelease-fast=true -Dtarget=x86_64-linux
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
run: |
|
run: |
|
||||||
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_linux-x86_64_release-fast.a
|
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_linux-x86_64_release-fast.a
|
||||||
|
|
@ -55,7 +55,7 @@ jobs:
|
||||||
# 7z x zig.zip
|
# 7z x zig.zip
|
||||||
# Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.670+e1a535360\"
|
# Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.670+e1a535360\"
|
||||||
# - name: install (debug)
|
# - name: install (debug)
|
||||||
# run: zig build install -Dfrom-source=true
|
# run: zig build install -Dfrom-source=true -Dtarget=x86_64-windows
|
||||||
# # TODO: upload step for Windows
|
# # TODO: upload step for Windows
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
@ -72,7 +72,7 @@ jobs:
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
run: zig build install -Dfrom-source=true
|
run: zig build install -Dfrom-source=true -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: upload (debug)
|
- name: upload (debug)
|
||||||
|
|
@ -83,7 +83,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Dfrom-source=true -Drelease-fast=true
|
run: zig build install -Dfrom-source=true -Drelease-fast=true -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
|
|
|
||||||
4
gpu-dawn/.github/workflows/m1_ci.yml
vendored
4
gpu-dawn/.github/workflows/m1_ci.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
run: zig build install -Dfrom-source=true
|
run: zig build install -Dfrom-source=true -Dtarget=aarch64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: upload (debug)
|
- name: upload (debug)
|
||||||
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Dfrom-source=true -Drelease-fast=true
|
run: zig build install -Dfrom-source=true -Drelease-fast=true -Dtarget=aarch64-macos
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue