mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
github: simplify build matrix definition
See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations
This commit is contained in:
parent
a03e9c41a3
commit
0e29cfca5c
1 changed files with 3 additions and 12 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -13,20 +13,11 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
build: [linux, linux-msrv, macos, win]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
rust_version: [stable]
|
||||
include:
|
||||
- build: linux
|
||||
os: ubuntu-latest
|
||||
rust_version: stable
|
||||
- build: linux-msrv
|
||||
os: ubuntu-latest
|
||||
- os: ubuntu-latest
|
||||
rust_version: "1.64"
|
||||
- build: macos
|
||||
os: macos-latest
|
||||
rust_version: stable
|
||||
- build: win
|
||||
os: windows-latest
|
||||
rust_version: stable
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue