gpu-dawn: update -Drelease to new -Doptimize flag
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c112466cb5
commit
aaf4704783
3 changed files with 8 additions and 8 deletions
12
libs/gpu-dawn/.github/workflows/ci.yml
vendored
12
libs/gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -41,7 +41,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 (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Drelease-fast=true -Dtarget=x86_64-linux-gnu
|
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
run: ./dev/upload-release.sh
|
run: ./dev/upload-release.sh
|
||||||
env:
|
env:
|
||||||
|
|
@ -83,7 +83,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 (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Drelease-fast=true -Dtarget=x86_64-linux-musl
|
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
run: ./dev/upload-release.sh
|
run: ./dev/upload-release.sh
|
||||||
env:
|
env:
|
||||||
|
|
@ -125,7 +125,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 (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Drelease-fast=true -Dtarget=aarch64-linux-gnu
|
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
run: ./dev/upload-release.sh
|
run: ./dev/upload-release.sh
|
||||||
env:
|
env:
|
||||||
|
|
@ -167,7 +167,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 (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Drelease-fast=true -Dtarget=aarch64-linux-musl
|
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
run: ./dev/upload-release.sh
|
run: ./dev/upload-release.sh
|
||||||
env:
|
env:
|
||||||
|
|
@ -217,7 +217,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 (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Dtarget=x86_64-windows-gnu -Drelease-fast=true
|
run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
run: ./dev/upload-release.sh
|
run: ./dev/upload-release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
@ -265,7 +265,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 (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Drelease-fast=true -Dtarget=x86_64-macos.12-none
|
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-macos.12-none
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
|
|
|
||||||
2
libs/gpu-dawn/.github/workflows/m1_ci.yml
vendored
2
libs/gpu-dawn/.github/workflows/m1_ci.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
RELEASE_NAME: aarch64-macos-none_debug
|
RELEASE_NAME: aarch64-macos-none_debug
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
run: zig build install -Drelease-fast=true -Dtarget=aarch64-macos.12-none
|
run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-macos.12-none
|
||||||
env:
|
env:
|
||||||
AGREE: true
|
AGREE: true
|
||||||
- name: upload (release-fast)
|
- name: upload (release-fast)
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ This will take ~10 minutes to finish (see the 'binary releases' section below.)
|
||||||
|
|
||||||
| Option | Description |
|
| Option | Description |
|
||||||
|-------------------------------|------------------------------------------------------------|
|
|-------------------------------|------------------------------------------------------------|
|
||||||
| `-Drelease-fast=true` | Build a release binary instead of a debug binary (default) |
|
| `-Doptimize=ReleaseFast` | Build a release binary instead of a debug binary (default) |
|
||||||
| `-Dtarget=x86_64-macos.12` | Cross compile to macOS (Intel chipsets) |
|
| `-Dtarget=x86_64-macos.12` | Cross compile to macOS (Intel chipsets) |
|
||||||
| `-Dtarget=aarch64-macos.12` | Cross compile to macOS (Apple Silicon) |
|
| `-Dtarget=aarch64-macos.12` | Cross compile to macOS (Apple Silicon) |
|
||||||
| `-Dtarget=x86_64-linux-gnu` | Cross compile to x86_64 Linux (glibc) |
|
| `-Dtarget=x86_64-linux-gnu` | Cross compile to x86_64 Linux (glibc) |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue