mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
zig 11 ci fixes
This commit is contained in:
parent
bb4b325b4e
commit
4cc6a9f1a6
7 changed files with 39 additions and 2 deletions
5
.github/workflows/macos_x86_64.yml
vendored
5
.github/workflows/macos_x86_64.yml
vendored
|
|
@ -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)"
|
||||
|
||||
|
|
|
|||
7
.github/workflows/nightly_linux_arm64.yml
vendored
7
.github/workflows/nightly_linux_arm64.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
7
.github/workflows/nightly_linux_x86_64.yml
vendored
7
.github/workflows/nightly_linux_x86_64.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
6
.github/workflows/nightly_macos_x86_64.yml
vendored
6
.github/workflows/nightly_macos_x86_64.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
5
.github/workflows/ubuntu_x86_64.yml
vendored
5
.github/workflows/ubuntu_x86_64.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue