Skip to content

Commit

Permalink
Added separate build step
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Oct 6, 2023
1 parent 7c937ef commit c8348dd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Set up Ubuntu multiarch
- name: Set up Ubuntu multiarch ⚙️
if: startsWith(matrix.os, 'ubuntu') && matrix.target-apt-arch != 'amd64'
run: |
readonly DISTRO_CODENAME=jammy
Expand Down Expand Up @@ -94,11 +94,18 @@ jobs:
toolchain: stable
target: ${{ matrix.target }}

- name: Build 🏗
uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --release

- name: Test 🧪
if: matrix.target != 'aarch64-apple-darwin'
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
args: --all-features --release

lint:
name: lint
Expand Down

0 comments on commit c8348dd

Please sign in to comment.