Skip to content

Commit

Permalink
misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 authored and bhansconnect committed Sep 26, 2023
1 parent ed1780a commit a26247d
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 27 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@ concurrency:

env:
RUST_BACKTRACE: 1
LLVM_SYS_160_PREFIX: $(brew --prefix llvm)

jobs:
test-rust-macos-x86-64:
runs-on: [self-hosted, macOS, X64]
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: Update PATH to use zig 11
run: |
echo "PATH=/Users/username1/Downloads/zig-macos-x86_64-0.11.0:$PATH" >> $GITHUB_ENV
- run: 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)"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nightly_linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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: Update PATH to use zig 11
run: |
echo "PATH=/home/username/Downloads/zig-linux-aarch64-0.11.0:$PATH" >> $GITHUB_ENV
- run: zig version

- name: create version.txt
run: ./ci/write_version.sh
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nightly_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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: Update PATH to use zig 11
run: |
echo "PATH=/home/big-ci-user/Downloads/zig-linux-x86_64-0.11.0:$PATH" >> $GITHUB_ENV
- run: zig version

- name: create version.txt
run: ./ci/write_version.sh
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nightly_macos_apple_silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ 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

- run: |
zig version
$ROC_ZIG version
- name: Update PATH to use zig 11
run: |
echo "PATH=/Users/m1ci/Downloads/zig-macos-aarch64-0.11.0:$PATH" >> $GITHUB_ENV
- run: zig version

- name: llvm version
run: llc --version | grep LLVM
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nightly_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +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: Update PATH to use zig 11
run: |
echo "PATH=/Users/username1/Downloads/zig-macos-x86_64-0.11.0:$PATH" >> $GITHUB_ENV
- run: zig version

- name: write version to file
run: ./ci/write_version.sh
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ubuntu_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ 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

Expand All @@ -27,8 +26,6 @@ jobs:
- name: Update PATH to use zig 11
run: |
echo "PATH=/home/small-ci-user/Downloads/zig-linux-x86_64-0.11.0:$PATH" >> $GITHUB_ENV
- run: echo $PATH
- run: zig version

Expand Down

0 comments on commit a26247d

Please sign in to comment.