diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ac8689117e..13f5b56895 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,8 +52,6 @@ jobs: run: sh ci/aarch64-linux-release.sh aarch64-macos-debug: runs-on: [self-hosted, macOS, aarch64] - env: - ARCH: "aarch64" steps: - name: Checkout uses: actions/checkout@v4 @@ -61,8 +59,6 @@ jobs: run: ci/aarch64-macos-debug.sh aarch64-macos-release: runs-on: [self-hosted, macOS, aarch64] - env: - ARCH: "aarch64" steps: - name: Checkout uses: actions/checkout@v4 @@ -71,8 +67,6 @@ jobs: x86_64-windows-debug: timeout-minutes: 420 runs-on: [self-hosted, Windows, x86_64] - env: - ARCH: "x86_64" steps: - name: Checkout uses: actions/checkout@v4 @@ -81,8 +75,6 @@ jobs: x86_64-windows-release: timeout-minutes: 420 runs-on: [self-hosted, Windows, x86_64] - env: - ARCH: "x86_64" steps: - name: Checkout uses: actions/checkout@v4 diff --git a/ci/aarch64-linux-debug.sh b/ci/aarch64-linux-debug.sh index fcd2e44871..179ae99f00 100755 --- a/ci/aarch64-linux-debug.sh +++ b/ci/aarch64-linux-debug.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="aarch64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/aarch64-linux-release.sh b/ci/aarch64-linux-release.sh index 4af32d2652..2988e939f8 100755 --- a/ci/aarch64-linux-release.sh +++ b/ci/aarch64-linux-release.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="aarch64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/aarch64-macos-debug.sh b/ci/aarch64-macos-debug.sh index 902cb9b90c..93d05a9c22 100755 --- a/ci/aarch64-macos-debug.sh +++ b/ci/aarch64-macos-debug.sh @@ -7,7 +7,7 @@ set -e # s3cmd ZIGDIR="$PWD" -TARGET="$ARCH-macos-none" +TARGET="aarch64-macos-none" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/$CACHE_BASENAME" diff --git a/ci/aarch64-macos-release.sh b/ci/aarch64-macos-release.sh index b38e606e88..55915e71fd 100755 --- a/ci/aarch64-macos-release.sh +++ b/ci/aarch64-macos-release.sh @@ -7,7 +7,7 @@ set -e # s3cmd ZIGDIR="$PWD" -TARGET="$ARCH-macos-none" +TARGET="aarch64-macos-none" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/$CACHE_BASENAME" diff --git a/ci/aarch64-windows.ps1 b/ci/aarch64-windows.ps1 index a47acc39ee..83b0f0a9b1 100644 --- a/ci/aarch64-windows.ps1 +++ b/ci/aarch64-windows.ps1 @@ -1,4 +1,4 @@ -$TARGET = "$($Env:ARCH)-windows-gnu" +$TARGET = "aarch64-windows-gnu" $ZIG_LLVM_CLANG_LLD_NAME = "zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" $MCPU = "baseline" $ZIG_LLVM_CLANG_LLD_URL = "https://ziglang.org/deps/$ZIG_LLVM_CLANG_LLD_NAME.zip" diff --git a/ci/loongarch64-linux-debug.sh b/ci/loongarch64-linux-debug.sh index 43ece5c3cf..3ccedd24c9 100755 --- a/ci/loongarch64-linux-debug.sh +++ b/ci/loongarch64-linux-debug.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="loongarch64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.157+7fdd60df1" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/loongarch64-linux-release.sh b/ci/loongarch64-linux-release.sh index 35223b8ff0..0ae4403ee0 100755 --- a/ci/loongarch64-linux-release.sh +++ b/ci/loongarch64-linux-release.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="loongarch64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.157+7fdd60df1" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/riscv64-linux-debug.sh b/ci/riscv64-linux-debug.sh index a2fa85f70f..334dc8d8ee 100755 --- a/ci/riscv64-linux-debug.sh +++ b/ci/riscv64-linux-debug.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="riscv64-linux-musl" MCPU="spacemit_x60" CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/riscv64-linux-release.sh b/ci/riscv64-linux-release.sh index 346de1b086..1ee76c1512 100755 --- a/ci/riscv64-linux-release.sh +++ b/ci/riscv64-linux-release.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="riscv64-linux-musl" MCPU="spacemit_x60" CACHE_BASENAME="zig+llvm+lld+clang-riscv64-linux-musl-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/x86_64-freebsd-debug.sh b/ci/x86_64-freebsd-debug.sh index 24f39987ce..5d0cac676c 100755 --- a/ci/x86_64-freebsd-debug.sh +++ b/ci/x86_64-freebsd-debug.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="x86_64" -TARGET="$ARCH-freebsd-none" +TARGET="x86_64-freebsd-none" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.312+164c598cd" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/x86_64-freebsd-release.sh b/ci/x86_64-freebsd-release.sh index 1e6f2f33e4..c57c1ebf47 100755 --- a/ci/x86_64-freebsd-release.sh +++ b/ci/x86_64-freebsd-release.sh @@ -5,8 +5,7 @@ set -x set -e -ARCH="x86_64" -TARGET="$ARCH-freebsd-none" +TARGET="x86_64-freebsd-none" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.312+164c598cd" PREFIX="$HOME/deps/$CACHE_BASENAME" diff --git a/ci/x86_64-linux-debug-llvm.sh b/ci/x86_64-linux-debug-llvm.sh index 0a7ba5d277..8bec5f8d26 100755 --- a/ci/x86_64-linux-debug-llvm.sh +++ b/ci/x86_64-linux-debug-llvm.sh @@ -5,14 +5,13 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="x86_64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" ZIG="$PREFIX/bin/zig" -export PATH="$HOME/deps/wasmtime-v29.0.0-$ARCH-linux:$HOME/deps/qemu-linux-x86_64-10.1.0/bin:$HOME/local/bin:$PATH" +export PATH="$HOME/deps/wasmtime-v29.0.0-x86_64-linux:$HOME/deps/qemu-linux-x86_64-10.1.0/bin:$HOME/local/bin:$PATH" # Make the `zig version` number consistent. # This will affect the cmake command below. diff --git a/ci/x86_64-linux-debug.sh b/ci/x86_64-linux-debug.sh index 0efae1c2e8..1b1a19b874 100755 --- a/ci/x86_64-linux-debug.sh +++ b/ci/x86_64-linux-debug.sh @@ -5,14 +5,13 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="x86_64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" ZIG="$PREFIX/bin/zig" -export PATH="$HOME/deps/wasmtime-v29.0.0-$ARCH-linux:$HOME/deps/qemu-linux-x86_64-10.1.0/bin:$HOME/local/bin:$PATH" +export PATH="$HOME/deps/wasmtime-v29.0.0-x86_64-linux:$HOME/deps/qemu-linux-x86_64-10.1.0/bin:$HOME/local/bin:$PATH" # Make the `zig version` number consistent. # This will affect the cmake command below. diff --git a/ci/x86_64-linux-release.sh b/ci/x86_64-linux-release.sh index 08144ff3f0..9540a87d11 100755 --- a/ci/x86_64-linux-release.sh +++ b/ci/x86_64-linux-release.sh @@ -5,14 +5,13 @@ set -x set -e -ARCH="$(uname -m)" -TARGET="$ARCH-linux-musl" +TARGET="x86_64-linux-musl" MCPU="baseline" CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" PREFIX="$HOME/deps/$CACHE_BASENAME" ZIG="$PREFIX/bin/zig" -export PATH="$HOME/deps/wasmtime-v29.0.0-$ARCH-linux:$HOME/deps/qemu-linux-x86_64-10.1.0/bin:$HOME/local/bin:$PATH" +export PATH="$HOME/deps/wasmtime-v29.0.0-x86_64-linux:$HOME/deps/qemu-linux-x86_64-10.1.0/bin:$HOME/local/bin:$PATH" # Make the `zig version` number consistent. # This will affect the cmake command below. diff --git a/ci/x86_64-windows-debug.ps1 b/ci/x86_64-windows-debug.ps1 index 9e8db3fbca..969de8dcc7 100644 --- a/ci/x86_64-windows-debug.ps1 +++ b/ci/x86_64-windows-debug.ps1 @@ -1,4 +1,4 @@ -$TARGET = "$($Env:ARCH)-windows-gnu" +$TARGET = "x86_64-windows-gnu" $ZIG_LLVM_CLANG_LLD_NAME = "zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" $MCPU = "baseline" $ZIG_LLVM_CLANG_LLD_URL = "https://ziglang.org/deps/$ZIG_LLVM_CLANG_LLD_NAME.zip" diff --git a/ci/x86_64-windows-release.ps1 b/ci/x86_64-windows-release.ps1 index a2b00efa7f..d387a215e8 100644 --- a/ci/x86_64-windows-release.ps1 +++ b/ci/x86_64-windows-release.ps1 @@ -1,4 +1,4 @@ -$TARGET = "$($Env:ARCH)-windows-gnu" +$TARGET = "x86_64-windows-gnu" $ZIG_LLVM_CLANG_LLD_NAME = "zig+llvm+lld+clang-$TARGET-0.16.0-dev.104+689461e31" $MCPU = "baseline" $ZIG_LLVM_CLANG_LLD_URL = "https://ziglang.org/deps/$ZIG_LLVM_CLANG_LLD_NAME.zip"