Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rise0chen committed Nov 14, 2024
1 parent 9361bb0 commit 35b2639
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ jobs:
publish:
name: publish
runs-on: ubuntu-latest
container: registry.cn-shanghai.aliyuncs.com/lebai/util:14.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -13,6 +14,18 @@ jobs:
endpoint: ${{ secrets.AWS_ENDPOINT }}
access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v2
continue-on-error: true
- name: Install Cross Compiler
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu libc6-dev-arm64-cross
- name: Publish
env:
AWS_ENDPOINT: ${{ secrets.AWS_ENDPOINT }}
Expand Down

0 comments on commit 35b2639

Please sign in to comment.