-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,20 @@ | |
|
||
# This is YAML - indentation levels are crucial | ||
|
||
# Set the 'name:' properties to values that work for you (pvxs) | ||
# Workflow name | ||
|
||
name: Base | ||
|
||
# Trigger on pushes and PRs to any branch | ||
on: | ||
push: | ||
paths-ignore: | ||
- '.*.yml' | ||
- 'documentation/*' | ||
- '**/*.md' | ||
- '.*.yml' | ||
pull_request: | ||
paths-ignore: | ||
- '.*.yml' | ||
- 'documentation/*' | ||
- '**/*.md' | ||
- '.*.yml' | ||
|
||
env: | ||
SETUP_PATH: .ci-local:.ci | ||
|
@@ -33,35 +31,26 @@ jobs: | |
BASE: ${{ matrix.base }} | ||
CMP: ${{ matrix.cmp }} | ||
BCFG: ${{ matrix.configuration }} | ||
WINE: ${{ matrix.wine }} | ||
RTEMS: ${{ matrix.rtems }} | ||
RTEMS_TARGET: ${{ matrix.rtems_target }} | ||
CI_CROSS_TARGETS: ${{ matrix.cross }} | ||
EXTRA: ${{ matrix.extra }} | ||
TEST: ${{ matrix.test }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Job names also name artifacts, character limitations apply | ||
include: | ||
- os: ubuntu-20.04 | ||
cmp: gcc | ||
configuration: default | ||
base: "3.15" | ||
wine: "64" | ||
name: "3.15 Ub-20 gcc-9 + MinGW" | ||
|
||
- os: ubuntu-20.04 | ||
cmp: gcc | ||
configuration: default | ||
base: "7.0" | ||
wine: "64" | ||
cross: "windows-x64-mingw" | ||
name: "7.0 Ub-20 gcc-9 + MinGW" | ||
|
||
- os: ubuntu-20.04 | ||
cmp: gcc | ||
configuration: static | ||
base: "7.0" | ||
wine: "64" | ||
cross: "windows-x64-mingw" | ||
name: "7.0 Ub-20 gcc-9 + MinGW, static" | ||
|
||
- os: ubuntu-20.04 | ||
|
@@ -88,26 +77,22 @@ jobs: | |
cmp: gcc | ||
configuration: default | ||
base: "7.0" | ||
rtems: "5" | ||
rtems_target: RTEMS-pc686-qemu | ||
test: NO | ||
cross: "RTEMS-pc686-qemu@5" | ||
name: "7.0 Ub-20 gcc-9 + RT-5.1 pc686" | ||
|
||
- os: ubuntu-20.04 | ||
cmp: gcc | ||
configuration: default | ||
base: "7.0" | ||
rtems: "4.10" | ||
rtems_target: RTEMS-pc386-qemu | ||
cross: "[email protected]" | ||
test: NO | ||
name: "7.0 Ub-20 gcc-9 + RT-4.10" | ||
|
||
- os: ubuntu-20.04 | ||
cmp: gcc | ||
configuration: default | ||
base: "7.0" | ||
rtems: "4.9" | ||
rtems_target: RTEMS-pc386-qemu | ||
cross: "[email protected]" | ||
name: "7.0 Ub-20 gcc-9 + RT-4.9" | ||
|
||
- os: macos-latest | ||
|
@@ -121,12 +106,14 @@ jobs: | |
configuration: default | ||
base: "7.0" | ||
name: "7.0 Win2019 MSC-19" | ||
extra: "CMD_CXXFLAGS=-analysis" | ||
|
||
- os: windows-2019 | ||
cmp: vs2019 | ||
configuration: static | ||
base: "7.0" | ||
name: "7.0 Win2019 MSC-19, static" | ||
extra: "CMD_CXXFLAGS=-analysis" | ||
|
||
- os: windows-2019 | ||
cmp: vs2019 | ||
|
@@ -140,15 +127,17 @@ jobs: | |
base: "7.0" | ||
name: "7.0 Win2019 mingw" | ||
|
||
- os: ubuntu-20.04 | ||
cmp: gcc | ||
configuration: default | ||
base: "3.15" | ||
wine: "64" | ||
name: "3.15 Ub-20 gcc-9 + MinGW" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Cache Dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache | ||
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.rtems_target }}/${{ matrix.extra }} | ||
- name: Automatic core dump analysis | ||
uses: mdavidsaver/ci-core-dumper@master | ||
- name: "apt-get install" | ||
|
@@ -164,7 +153,7 @@ jobs: | |
run: python .ci/cue.py -T 20M test | ||
- name: Upload tapfiles Artifact | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: tapfiles ${{ matrix.name }} | ||
path: '**/O.*/*.tap' | ||
|