Skip to content

Commit

Permalink
Install rust target (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: morenol <22335041+morenol@users.noreply.github.com>
  • Loading branch information
morenol and morenol committed May 12, 2023
1 parent f3f248c commit b61f148
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
matrix:
os: [ubuntu-latest]
rust: [stable]
rust-target: [x86_64-unknown-linux-gnu]
rust-target: [x86_64-unknown-linux-musl]
check: [test, check, fmt, clippy]
env:
RUST_BACKTRACE: full
Expand All @@ -38,6 +38,7 @@ jobs:
with:
toolchain: stable
components: clippy
target: ${{ matrix.rust-target }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.rust-target }}-${{ matrix.check }}
Expand Down Expand Up @@ -65,10 +66,16 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
rust-target: [x86_64-unknown-linux-musl]
env:
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v3
- name: Install musl-tools
run: |
set -ex
sudo apt-get update
sudo apt-get install -y musl-tools
- uses: AbsaOSS/k3d-action@v2.4.0
name: "Create fluvio k3d Cluster"
with:
Expand All @@ -84,6 +91,14 @@ jobs:
with:
cluster-type: k3d
version: stable
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
target: ${{ matrix.rust-target }}
override: true

- name: Check Fluvio Installation
run: |
sleep 10
Expand Down

0 comments on commit b61f148

Please sign in to comment.