Skip to content

Commit

Permalink
Try to build with cross
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Sep 22, 2024
1 parent 8d1e58e commit c838d43
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install tree -y --no-install-recommends
# cargo install cross
# cross build --release --all --target x86_64-unknown-freebsd
docker container run --rm \
--volume ${{ github.workspace }}:/src \
--user $(id --user):$(id --group) \
hustcer/rust-cross-freebsd:latest build \
--release --all --target x86_64-unknown-freebsd
cargo install cross
cross build --release --all --target x86_64-unknown-freebsd
tree target

0 comments on commit c838d43

Please sign in to comment.