mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-19 15:34:58 +02:00
Swap matrix to interpolate os/targets
This commit is contained in:
parent
391daace9c
commit
3ac00b7c53
35
.github/workflows/ci.yml
vendored
35
.github/workflows/ci.yml
vendored
@ -9,24 +9,27 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ${{ matrix.os }}
|
||||||
|
timeout-minutes: 60
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
os:
|
||||||
- target: aarch64-linux-musl
|
- ubuntu-latest
|
||||||
- target: arm-linux-musleabi
|
- macos-latest
|
||||||
- target: arm-linux-musleabihf
|
- windows-latest
|
||||||
- target: i686-linux-musl
|
target:
|
||||||
- target: riscv64-linux-musl
|
- aarch64-linux-musl
|
||||||
- target: x86_64-linux-musl
|
- arm-linux-musleabi
|
||||||
- target: x86_64-linux-muslx32
|
- arm-linux-musleabihf
|
||||||
|
- i686-linux-musl
|
||||||
|
- riscv64-linux-musl
|
||||||
|
- x86_64-linux-musl
|
||||||
|
- x86_64-linux-muslx32
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -35,11 +38,11 @@ jobs:
|
|||||||
run: TARGET=${{ matrix.target }} make
|
run: TARGET=${{ matrix.target }} make
|
||||||
|
|
||||||
- name: Package outputs
|
- name: Package outputs
|
||||||
run: tar -C build/local musl-${{ matrix.target }}.tgz ${{matrix.target}}/*
|
run: tar -C build/local musl-${{ matrix.os }}-${{ matrix.target }}.tgz ${{matrix.target}}/*
|
||||||
|
|
||||||
- name: Upload utility artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: musl-${{ matrix.target }}.tgz
|
name: musl-${{ matrix.os }}-${{ matrix.target }}.tgz
|
||||||
path: musl-${{ matrix.target }}.tgz
|
path: musl-${{ matrix.os }}-${{ matrix.target }}.tgz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user