diff options
author | Blaž Hrastnik | 2021-08-14 04:26:00 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-14 04:32:29 +0000 |
commit | dbd1f11311e72658f81ad50ea500c2710c766fd8 (patch) | |
tree | 24e541bb5b7dc18f533d6d068be53c7234b628c0 | |
parent | b0acd8c3a65ed843479dde501e8a79872abdbb1e (diff) |
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
-rw-r--r-- | .github/workflows/release.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ce9ed62..b16fa428 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 |