mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
try twice
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
b518288cd4
commit
c1f5cd96a3
1 changed files with 6 additions and 3 deletions
9
.github/workflows/nightly_macos_x86_64.yml
vendored
9
.github/workflows/nightly_macos_x86_64.yml
vendored
|
|
@ -26,16 +26,19 @@ jobs:
|
|||
- name: execute rust tests
|
||||
run: cargo test --release --locked -- --skip opaque_wrap_function --skip gen_list::bool_list_literal --skip gen_tags::phantom_polymorphic_record
|
||||
|
||||
- name: This clean prevents a zig build command crashed error
|
||||
run: git clean -fdx
|
||||
|
||||
- name: write version to file
|
||||
run: ./ci/write_version.sh
|
||||
|
||||
- name: build release
|
||||
id: build
|
||||
continue-on-error: true
|
||||
run: RUSTFLAGS="-C target-cpu=x86-64" cargo build --profile=release-with-lto --locked --bin roc --bin roc_language_server
|
||||
# target-cpu=x86-64 -> For maximal compatibility for all CPU's.
|
||||
|
||||
- name: retry build release
|
||||
if: steps.build.outcome == 'failure'
|
||||
run: RUSTFLAGS="-C target-cpu=x86-64" cargo build --profile=release-with-lto --locked --bin roc --bin roc_language_server
|
||||
|
||||
- name: get commit SHA
|
||||
run: echo "SHA=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue