Skip to content

Commit

Permalink
Try build with docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Sep 22, 2024
1 parent c892523 commit 29a26ec
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,14 @@ jobs:
- name: Release Nu Binary
id: nu
run: |
apt-get install tree -y --no-install-recommends
cargo install cross
cross build --release --all --target x86_64-unknown-freebsd
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
tree target

0 comments on commit 29a26ec

Please sign in to comment.