Skip to content

Commit

Permalink
Adjust CI to use cross-build script
Browse files Browse the repository at this point in the history
  • Loading branch information
joaofl committed Aug 14, 2024
1 parent 4c235e6 commit 92842f8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,8 @@ jobs:
- name: Install extra packages
run: |
sudo apt-get update && sudo apt-get install -y libatk1.0-dev libcairo2-dev libpango1.0-dev libgdk-pixbuf2.0-dev libgtk-3-dev python3-pip tftp
cargo install cargo-zigbuild
sudo pip3 install ziglang
cargo install cross --git https://github.com/cross-rs/cross
- name: Build for Linux x86_64 Headless
- name: Build all targets
continue-on-error: false
run: cargo zigbuild --release --no-default-features

- name: Build for Linux x86_64
continue-on-error: false
run: cargo zigbuild --release
run: ./cross-build-all.sh

0 comments on commit 92842f8

Please sign in to comment.