mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
fix: Cross compile tests as well
We ran the tests first, but did not cross compile them. This step would also compile all the grammar libraries (but for the host machine). On the actual release build, the editor would get built for the target, but the grammar libraries would be detected as present and wouldn't recompile. Refs #577
This commit is contained in:
parent
b0acd8c3a6
commit
dbd1f11311
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -67,8 +67,9 @@ jobs:
|
||||
- name: Run cargo test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: ${{ matrix.cross }}
|
||||
command: test
|
||||
args: --release --locked
|
||||
args: --release --locked --target ${{ matrix.target }}
|
||||
|
||||
- name: Build release binary
|
||||
uses: actions-rs/cargo@v1
|
||||
|
Loading…
Reference in New Issue
Block a user