mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-30 06:10:37 +00:00
ci: ⚡️ Install dependencies for aarch64-linux and fix typo
This commit is contained in:
parent
0850cc81f4
commit
ddb814ce22
9
.github/workflows/cd.yaml
vendored
9
.github/workflows/cd.yaml
vendored
@ -33,6 +33,11 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-aarch64-linux-gnu
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@ -48,11 +53,11 @@ jobs:
|
||||
toolchain: stable
|
||||
args: --release --target ${{ matrix.job.target }}
|
||||
- name: Compress (Unix)
|
||||
if: ${{ matrix.job.runs_on != 'windows-latest' }}
|
||||
if: ${{ matrix.job.os != 'windows-latest' }}
|
||||
run: zip -j espup-${{ matrix.job.target }}.zip target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }}
|
||||
|
||||
- name: Compress (Windows)
|
||||
if: ${{ matrix.job.runs_on == 'windows-latest' }}
|
||||
if: ${{ matrix.job.os == 'windows-latest' }}
|
||||
run: Compress-Archive target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }} espup-${{ matrix.job.target }}.zip
|
||||
|
||||
- uses: svenstaro/upload-release-action@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user