Skip to content

Commit

Permalink
try fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackhr-arch committed Jun 29, 2024
1 parent b4ef013 commit dcc2450
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
mkdir artifacts
mv ./clashtui/target/release/clashtui ./artifacts/clashtui.release
mv ./clashtui/target/debug/clashtui ./artifacts/clashtui.debug
chmod +x ./artifacts/*
- name: upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -61,7 +62,6 @@ jobs:
retention-days: 5

build-linux-arm64:
if: false
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -92,9 +92,6 @@ jobs:
run: |
cd clashtui
rustup target add aarch64-unknown-linux-gnu
cargo install cargo-zigbuild
curl -OL https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.121+ab4c461b7.tar.xz
tar -xf zig-linux-x86_64-0.14.0-dev.121+ab4c461b7.tar.xz
cargo fetch
- name: Run tests
Expand All @@ -103,9 +100,8 @@ jobs:
- name: Build
run: |
cd clashtui
export PATH=PATH:$PWD/zig-linux-x86_64-0.14.0-dev.121+ab4c461b7/
cargo zigbuild --target aarch64-unknown-linux-gnu.2.17 --all-features --verbose --locked
cargo zigbuild --target aarch64-unknown-linux-gnu.2.17 --all-features --release --locked
cargo build --target aarch64-unknown-linux-gnu.2.17 --all-features --verbose --locked
cargo build --target aarch64-unknown-linux-gnu.2.17 --all-features --release --locked
- name: Build Version
run: echo "Refer to build-linux"
Expand Down

0 comments on commit dcc2450

Please sign in to comment.