| author | |
| committer | |
| log | 781cc731ed81be33a13d5f1c85c7dc6bc8ec5218 |
| tree | 6a9548d78405ccb202039555cfa4e19a9a9ea5c9 |
| parent | acf8d5234fdb86b23e37761f3f58505f6247a28c |
| signature |
17 files changed, 18 insertions(+), 89 deletions(-)
.github/workflows/ci.yaml+18| ... | ... | @@ -18,6 +18,8 @@ jobs: |
| 18 | 18 | steps: |
| 19 | 19 | - name: Checkout |
| 20 | 20 | uses: actions/checkout@v4 |
| 21 | with: | |
| 22 | fetch-depth: 0 | |
| 21 | 23 | - name: Build and Test |
| 22 | 24 | run: sh ci/x86_64-linux-debug.sh |
| 23 | 25 | x86_64-linux-debug-llvm: |
| ... | ... | @@ -26,6 +28,8 @@ jobs: |
| 26 | 28 | steps: |
| 27 | 29 | - name: Checkout |
| 28 | 30 | uses: actions/checkout@v4 |
| 31 | with: | |
| 32 | fetch-depth: 0 | |
| 29 | 33 | - name: Build and Test |
| 30 | 34 | run: sh ci/x86_64-linux-debug-llvm.sh |
| 31 | 35 | x86_64-linux-release: |
| ... | ... | @@ -34,6 +38,8 @@ jobs: |
| 34 | 38 | steps: |
| 35 | 39 | - name: Checkout |
| 36 | 40 | uses: actions/checkout@v4 |
| 41 | with: | |
| 42 | fetch-depth: 0 | |
| 37 | 43 | - name: Build and Test |
| 38 | 44 | run: sh ci/x86_64-linux-release.sh |
| 39 | 45 | aarch64-linux-debug: |
| ... | ... | @@ -41,6 +47,8 @@ jobs: |
| 41 | 47 | steps: |
| 42 | 48 | - name: Checkout |
| 43 | 49 | uses: actions/checkout@v4 |
| 50 | with: | |
| 51 | fetch-depth: 0 | |
| 44 | 52 | - name: Build and Test |
| 45 | 53 | run: sh ci/aarch64-linux-debug.sh |
| 46 | 54 | aarch64-linux-release: |
| ... | ... | @@ -48,6 +56,8 @@ jobs: |
| 48 | 56 | steps: |
| 49 | 57 | - name: Checkout |
| 50 | 58 | uses: actions/checkout@v4 |
| 59 | with: | |
| 60 | fetch-depth: 0 | |
| 51 | 61 | - name: Build and Test |
| 52 | 62 | run: sh ci/aarch64-linux-release.sh |
| 53 | 63 | aarch64-macos-debug: |
| ... | ... | @@ -55,6 +65,8 @@ jobs: |
| 55 | 65 | steps: |
| 56 | 66 | - name: Checkout |
| 57 | 67 | uses: actions/checkout@v4 |
| 68 | with: | |
| 69 | fetch-depth: 0 | |
| 58 | 70 | - name: Build and Test |
| 59 | 71 | run: ci/aarch64-macos-debug.sh |
| 60 | 72 | aarch64-macos-release: |
| ... | ... | @@ -62,6 +74,8 @@ jobs: |
| 62 | 74 | steps: |
| 63 | 75 | - name: Checkout |
| 64 | 76 | uses: actions/checkout@v4 |
| 77 | with: | |
| 78 | fetch-depth: 0 | |
| 65 | 79 | - name: Build and Test |
| 66 | 80 | run: ci/aarch64-macos-release.sh |
| 67 | 81 | x86_64-windows-debug: |
| ... | ... | @@ -70,6 +84,8 @@ jobs: |
| 70 | 84 | steps: |
| 71 | 85 | - name: Checkout |
| 72 | 86 | uses: actions/checkout@v4 |
| 87 | with: | |
| 88 | fetch-depth: 0 | |
| 73 | 89 | - name: Build and Test |
| 74 | 90 | run: ci/x86_64-windows-debug.ps1 |
| 75 | 91 | x86_64-windows-release: |
| ... | ... | @@ -78,5 +94,7 @@ jobs: |
| 78 | 94 | steps: |
| 79 | 95 | - name: Checkout |
| 80 | 96 | uses: actions/checkout@v4 |
| 97 | with: | |
| 98 | fetch-depth: 0 | |
| 81 | 99 | - name: Build and Test |
| 82 | 100 | run: ci/x86_64-windows-release.ps1 |
ci/aarch64-linux-debug.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | export PATH="$HOME/local/bin:$PATH" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-linux-release.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | export PATH="$HOME/local/bin:$PATH" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-macos-debug.sh-5| ... | ... | @@ -21,11 +21,6 @@ fi |
| 21 | 21 | |
| 22 | 22 | cd $ZIGDIR |
| 23 | 23 | |
| 24 | # Make the `zig version` number consistent. | |
| 25 | # This will affect the cmake command below. | |
| 26 | git fetch --unshallow || true | |
| 27 | git fetch --tags | |
| 28 | ||
| 29 | 24 | # Override the cache directories because they won't actually help other CI runs |
| 30 | 25 | # which will be testing alternate versions of zig, and ultimately would just |
| 31 | 26 | # fill up space on the hard drive for no reason. |
ci/aarch64-macos-release.sh-5| ... | ... | @@ -21,11 +21,6 @@ fi |
| 21 | 21 | |
| 22 | 22 | cd $ZIGDIR |
| 23 | 23 | |
| 24 | # Make the `zig version` number consistent. | |
| 25 | # This will affect the cmake command below. | |
| 26 | git fetch --unshallow || true | |
| 27 | git fetch --tags | |
| 28 | ||
| 29 | 24 | # Override the cache directories because they won't actually help other CI runs |
| 30 | 25 | # which will be testing alternate versions of zig, and ultimately would just |
| 31 | 26 | # fill up space on the hard drive for no reason. |
ci/aarch64-windows.ps1-8| ... | ... | @@ -22,14 +22,6 @@ function CheckLastExitCode { |
| 22 | 22 | return 0 |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | # Make the `zig version` number consistent. | |
| 26 | # This will affect the `zig build` command below which uses `git describe`. | |
| 27 | git fetch --tags | |
| 28 | ||
| 29 | if ((git rev-parse --is-shallow-repository) -eq "true") { | |
| 30 | git fetch --unshallow # `git describe` won't work on a shallow repo | |
| 31 | } | |
| 32 | ||
| 33 | 25 | # Override the cache directories because they won't actually help other CI runs |
| 34 | 26 | # which will be testing alternate versions of zig, and ultimately would just |
| 35 | 27 | # fill up space on the hard drive for no reason. |
ci/loongarch64-linux-debug.sh-5| ... | ... | @@ -11,11 +11,6 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.157+7fdd60df1" |
| 11 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | # Make the `zig version` number consistent. | |
| 15 | # This will affect the cmake command below. | |
| 16 | git fetch --unshallow || true | |
| 17 | git fetch --tags | |
| 18 | ||
| 19 | 14 | # Override the cache directories because they won't actually help other CI runs |
| 20 | 15 | # which will be testing alternate versions of zig, and ultimately would just |
| 21 | 16 | # fill up space on the hard drive for no reason. |
ci/loongarch64-linux-release.sh-5| ... | ... | @@ -11,11 +11,6 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.157+7fdd60df1" |
| 11 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | # Make the `zig version` number consistent. | |
| 15 | # This will affect the cmake command below. | |
| 16 | git fetch --unshallow || true | |
| 17 | git fetch --tags | |
| 18 | ||
| 19 | 14 | # Override the cache directories because they won't actually help other CI runs |
| 20 | 15 | # which will be testing alternate versions of zig, and ultimately would just |
| 21 | 16 | # fill up space on the hard drive for no reason. |
ci/riscv64-linux-debug.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | export PATH="$HOME/local/bin:$PATH" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/riscv64-linux-release.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | export PATH="$HOME/local/bin:$PATH" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-freebsd-debug.sh-5| ... | ... | @@ -11,11 +11,6 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.312+164c598cd" |
| 11 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | # Make the `zig version` number consistent. | |
| 15 | # This will affect the cmake command below. | |
| 16 | git fetch --unshallow || true | |
| 17 | git fetch --tags | |
| 18 | ||
| 19 | 14 | # Override the cache directories because they won't actually help other CI runs |
| 20 | 15 | # which will be testing alternate versions of zig, and ultimately would just |
| 21 | 16 | # fill up space on the hard drive for no reason. |
ci/x86_64-freebsd-release.sh-5| ... | ... | @@ -11,11 +11,6 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.312+164c598cd" |
| 11 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | # Make the `zig version` number consistent. | |
| 15 | # This will affect the cmake command below. | |
| 16 | git fetch --unshallow || true | |
| 17 | git fetch --tags | |
| 18 | ||
| 19 | 14 | # Override the cache directories because they won't actually help other CI runs |
| 20 | 15 | # which will be testing alternate versions of zig, and ultimately would just |
| 21 | 16 | # fill up space on the hard drive for no reason. |
ci/x86_64-linux-debug-llvm.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | 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" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-linux-debug.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | 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" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-linux-release.sh-5| ... | ... | @@ -13,11 +13,6 @@ ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | 14 | 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" |
| 15 | 15 | |
| 16 | # Make the `zig version` number consistent. | |
| 17 | # This will affect the cmake command below. | |
| 18 | git fetch --unshallow || true | |
| 19 | git fetch --tags | |
| 20 | ||
| 21 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 22 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 23 | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-windows-debug.ps1-8| ... | ... | @@ -22,14 +22,6 @@ function CheckLastExitCode { |
| 22 | 22 | return 0 |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | # Make the `zig version` number consistent. | |
| 26 | # This will affect the `zig build` command below which uses `git describe`. | |
| 27 | git fetch --tags | |
| 28 | ||
| 29 | if ((git rev-parse --is-shallow-repository) -eq "true") { | |
| 30 | git fetch --unshallow # `git describe` won't work on a shallow repo | |
| 31 | } | |
| 32 | ||
| 33 | 25 | # Override the cache directories because they won't actually help other CI runs |
| 34 | 26 | # which will be testing alternate versions of zig, and ultimately would just |
| 35 | 27 | # fill up space on the hard drive for no reason. |
ci/x86_64-windows-release.ps1-8| ... | ... | @@ -22,14 +22,6 @@ function CheckLastExitCode { |
| 22 | 22 | return 0 |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | # Make the `zig version` number consistent. | |
| 26 | # This will affect the `zig build` command below which uses `git describe`. | |
| 27 | git fetch --tags | |
| 28 | ||
| 29 | if ((git rev-parse --is-shallow-repository) -eq "true") { | |
| 30 | git fetch --unshallow # `git describe` won't work on a shallow repo | |
| 31 | } | |
| 32 | ||
| 33 | 25 | # Override the cache directories because they won't actually help other CI runs |
| 34 | 26 | # which will be testing alternate versions of zig, and ultimately would just |
| 35 | 27 | # fill up space on the hard drive for no reason. |