Move runs-on under strategy
This commit is contained in:
parent
3977be938f
commit
26ef62d613
|
@ -4,8 +4,6 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-22.04, macos-11]
|
os: [ubuntu-22.04, macos-11]
|
||||||
|
@ -21,6 +19,8 @@ jobs:
|
||||||
- os: macos-11
|
- os: macos-11
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Linux setup
|
- name: Linux setup
|
||||||
|
|
Loading…
Reference in New Issue