gpu-dawn: rename -Dfrom-source to -Ddawn-from-source

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-02-27 15:13:09 -07:00
parent 4860240e4e
commit 805de702ee
3 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Clone mach-glfw
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
- name: install (debug)
run: zig build install -Dfrom-source=true -Dtarget=x86_64-linux
run: zig build install -Ddawn-from-source=true -Dtarget=x86_64-linux
- name: upload (debug)
run: |
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-linux-gnu_debug.a
@ -43,7 +43,7 @@ jobs:
- name: Clone mach-glfw
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
- name: install (release-fast)
run: zig build install -Dfrom-source=true -Drelease-fast=true -Dtarget=x86_64-linux
run: zig build install -Ddawn-from-source=true -Drelease-fast=true -Dtarget=x86_64-linux
- name: upload (release-fast)
run: |
mv zig-out/lib/libdawn.a zig-out/lib/libdawn_x86_64-linux-gnu_release-fast.a
@ -69,7 +69,7 @@ jobs:
# 7z x zig.zip
# Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.670+e1a535360\"
# - name: install (debug)
# run: zig build install -Dfrom-source=true -Dtarget=x86_64-windows
# run: zig build install -Ddawn-from-source=true -Dtarget=x86_64-windows
# # TODO: upload step for Windows
x86_64-macos_debug:
runs-on: macos-latest
@ -86,7 +86,7 @@ jobs:
- name: Clone mach-glfw
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
- name: install (debug)
run: zig build install -Dfrom-source=true -Dtarget=x86_64-macos.12
run: zig build install -Ddawn-from-source=true -Dtarget=x86_64-macos.12
env:
AGREE: true
- name: upload (debug)
@ -111,7 +111,7 @@ jobs:
- name: Clone mach-glfw
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
- name: install (release-fast)
run: zig build install -Dfrom-source=true -Drelease-fast=true -Dtarget=x86_64-macos.12
run: zig build install -Ddawn-from-source=true -Drelease-fast=true -Dtarget=x86_64-macos.12
env:
AGREE: true
- name: upload (release-fast)

View file

@ -24,7 +24,7 @@ jobs:
- name: Clone mach-glfw
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
- name: install (debug)
run: zig build install -Dfrom-source=true -Dtarget=aarch64-macos.12
run: zig build install -Ddawn-from-source=true -Dtarget=aarch64-macos.12
env:
AGREE: true
- name: upload (debug)
@ -35,7 +35,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: install (release-fast)
run: zig build install -Dfrom-source=true -Drelease-fast=true -Dtarget=aarch64-macos.12
run: zig build install -Ddawn-from-source=true -Drelease-fast=true -Dtarget=aarch64-macos.12
env:
AGREE: true
- name: upload (release-fast)