version may need to be done after clean

This commit is contained in:
Anton-4 2025-02-09 08:58:37 +01:00 committed by GitHub
parent 555d2ee035
commit b518288cd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,15 +23,15 @@ jobs:
- run: zig version
- name: write version to file
run: ./ci/write_version.sh
- 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
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.