Skip to content

Commit

Permalink
fix: 安装cross
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfSweet committed Dec 18, 2023
1 parent 0658cd1 commit 0fd8e3e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: aarch64-apple-darwin
file_name : "macos-aarch64"
os: macos-latest

runs-on: ${{ matrix.target.os }}

steps:
Expand All @@ -50,7 +50,6 @@ jobs:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y libudev-dev libusb-1.0-0-dev libssl-dev pkg-config
cargo install cross --git https://github.com/cross-rs/cross
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg -y; done
# Add Docker's official GPG key:
sudo apt-get update -y
Expand All @@ -70,7 +69,9 @@ jobs:
sudo systemctl start docker
- name: Build
run: cross build --release --target ${{ matrix.target.name }}
run: |
cargo install cross --git https://github.com/cross-rs/cross
cross build --release --target ${{ matrix.target.name }}
- name: package # 将编译好的二进制文件打包,如果是Windows就打包exe文件,其它系统打包AirISP*文件
run: |
Expand Down

0 comments on commit 0fd8e3e

Please sign in to comment.