zig 11 ci fixes

This commit is contained in:
Anton-4 2023-09-25 15:20:36 +02:00 committed by Brendan Hansknecht
parent bb4b325b4e
commit 4cc6a9f1a6
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
7 changed files with 39 additions and 2 deletions

View file

@ -16,9 +16,14 @@ jobs:
timeout-minutes: 90
env:
RUSTC_WRAPPER: /Users/username1/.cargo/bin/sccache
ROC_ZIG: /Users/username1/Downloads/zig-macos-x86_64-0.11.0/zig
steps:
- uses: actions/checkout@v3
- run: |
zig version
$ROC_ZIG version
- name: test_gen llvm tests
run: cargo nextest-gen-llvm --release --no-fail-fast --locked -E "package(test_gen) - test(gen_str::str_append_scalar)"

View file

@ -10,9 +10,16 @@ jobs:
name: build and package nightly release
runs-on: [self-hosted, Linux, ARM64]
timeout-minutes: 90
env:
ROC_ZIG: /home/username/Downloads/zig-linux-aarch64-0.11.0/zig
steps:
- uses: actions/checkout@v3
- run: |
zig version
$ROC_ZIG version
- name: create version.txt
run: ./ci/write_version.sh

View file

@ -10,9 +10,16 @@ jobs:
name: build and package nightly release
runs-on: [self-hosted, i7-6700K]
timeout-minutes: 90
env:
ROC_ZIG: /home/big-ci-user/Downloads/zig-linux-x86_64-0.11.0/zig
steps:
- uses: actions/checkout@v3
- run: |
zig version
$ROC_ZIG version
- name: create version.txt
run: ./ci/write_version.sh

View file

@ -10,10 +10,15 @@ jobs:
name: Rust tests, build and package nightly release
runs-on: [self-hosted, macOS, ARM64]
timeout-minutes: 90
env:
ROC_ZIG: /Users/m1ci/Downloads/zig-macos-aarch64-0.11.0/zig
steps:
- uses: actions/checkout@v3
- name: zig version
run: zig version
- run: |
zig version
$ROC_ZIG version
- name: llvm version
run: llc --version | grep LLVM

View file

@ -10,8 +10,14 @@ jobs:
name: build, test, package and upload nightly release
runs-on: [self-hosted, macOS, X64]
timeout-minutes: 120
env:
ROC_ZIG: /Users/username1/Downloads/zig-macos-x86_64-0.11.0/zig
steps:
- uses: actions/checkout@v3
- run: |
zig version
$ROC_ZIG version
- name: write version to file
run: ./ci/write_version.sh

View file

@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: zig version
- name: check formatting with rustfmt
run: nix develop -c cargo fmt --all -- --check

View file

@ -17,12 +17,17 @@ jobs:
timeout-minutes: 90
env:
RUSTC_WRAPPER: /home/small-ci-user/.cargo/bin/sccache
ROC_ZIG: /home/small-ci-user/Downloads/zig-linux-x86_64-0.11.0/zig
steps:
- uses: actions/checkout@v3
- name: Check for duplicate AUTHORS
run: diff <(sort AUTHORS) <(sort AUTHORS | uniq) # The < operator treats a string as a file. diff 'succeeds' if no difference.
- run: |
zig version
$ROC_ZIG version
- name: zig fmt check, zig tests
run: cd crates/compiler/builtins/bitcode && ./run-tests.sh