Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cd): avoid building musl #370

Merged
merged 1 commit into from
Mar 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 4 additions & 15 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,10 @@ jobs:
strategy:
matrix:
include:
# Supported `cross` targets:
# https://github.com/rust-embedded/cross#supported-targets

# Linux targets
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, cross: false }
- { target: x86_64-unknown-linux-musl, os: ubuntu-latest, cross: true }
- { target: aarch64-unknown-linux-musl, os: ubuntu-latest, cross: true }
hannobraun marked this conversation as resolved.
Show resolved Hide resolved

# macOS targets
- { target: x86_64-apple-darwin, os: macOS-latest, cross: false }
- { target: aarch64-apple-darwin, os: macOS-latest, cross: false }

# Windows targets
- { target: x86_64-pc-windows-msvc, os: windows-latest, cross: false }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
- { target: x86_64-apple-darwin, os: macOS-latest }
- { target: aarch64-apple-darwin, os: macOS-latest }
- { target: x86_64-pc-windows-msvc, os: windows-latest }

runs-on: ${{matrix.os}}
steps:
Expand All @@ -53,7 +43,6 @@ jobs:
with:
args: --release --target ${{ matrix.target }}
command: build
use-cross: ${{ matrix.cross }}

- name: Prepare Upload
shell: bash
Expand Down