Skip to content

Commit a380237

Browse files
committed
fix: CI adjusted to be more recent.
1 parent 1018b95 commit a380237

File tree

1 file changed

+34
-51
lines changed

1 file changed

+34
-51
lines changed

.github/workflows/ci-scripts-build.yml

Lines changed: 34 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
name: devlib2
99

1010
# Trigger on pushes and PRs to any branch
11-
on: [push, pull_request]
11+
on: [push, pull_request, workflow_dispatch]
1212

1313
env:
14-
SETUP_PATH: .ci-local:.ci
15-
EPICS_TEST_IMPRECISE_TIMING: YES
14+
SETUP_PATH: .ci-local:.ci
15+
EPICS_TEST_IMPRECISE_TIMING: YES
1616

1717
jobs:
1818
build-base:
@@ -57,11 +57,6 @@ jobs:
5757
base: "7.0"
5858
extra: "CMD_CXXFLAGS=-std=c++11"
5959

60-
- os: ubuntu-16.04
61-
cmp: clang
62-
configuration: default
63-
base: "7.0"
64-
6560
- os: ubuntu-20.04
6661
cmp: clang
6762
configuration: default
@@ -80,18 +75,6 @@ jobs:
8075
base: "7.0"
8176
rtems: "4.9"
8277

83-
- os: ubuntu-16.04
84-
cmp: gcc-4.8
85-
utoolchain: "4.8"
86-
configuration: default
87-
base: "7.0"
88-
89-
- os: ubuntu-16.04
90-
cmp: gcc-4.9
91-
utoolchain: "4.9"
92-
configuration: default
93-
base: "7.0"
94-
9578
- os: ubuntu-20.04
9679
cmp: gcc-8
9780
utoolchain: "8"
@@ -104,34 +87,34 @@ jobs:
10487
base: "7.0"
10588

10689
steps:
107-
- uses: actions/checkout@v2
108-
with:
109-
submodules: true
110-
- name: Cache Dependencies
111-
uses: actions/cache@v2
112-
with:
113-
path: ~/.cache
114-
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.extra }}
115-
- name: Automatic core dump analysis
116-
uses: mdavidsaver/ci-core-dumper@master
117-
- name: "apt-get install"
118-
run: |
119-
sudo apt-get update
120-
sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb
121-
if: runner.os == 'Linux'
122-
- name: "apt-get install ${{ matrix.cmp }}"
123-
run: |
124-
sudo apt-get update
125-
sudo apt-get -y install software-properties-common
126-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
127-
sudo apt-get update
128-
sudo apt-get -y install g++-${{ matrix.utoolchain }}
129-
if: matrix.utoolchain
130-
- name: Prepare and compile dependencies
131-
run: python .ci/cue.py prepare
132-
- name: Build main module
133-
run: python .ci/cue.py build
134-
- name: Run main module tests
135-
run: python .ci/cue.py test
136-
- name: Collect and show test results
137-
run: python .ci/cue.py test-results
90+
- uses: actions/checkout@v2
91+
with:
92+
submodules: true
93+
- name: Cache Dependencies
94+
uses: actions/cache@v2
95+
with:
96+
path: ~/.cache
97+
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.extra }}
98+
- name: Automatic core dump analysis
99+
uses: mdavidsaver/ci-core-dumper@master
100+
- name: "apt-get install"
101+
run: |
102+
sudo apt-get update
103+
sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb
104+
if: runner.os == 'Linux'
105+
- name: "apt-get install ${{ matrix.cmp }}"
106+
run: |
107+
sudo apt-get update
108+
sudo apt-get -y install software-properties-common
109+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
110+
sudo apt-get update
111+
sudo apt-get -y install g++-${{ matrix.utoolchain }}
112+
if: matrix.utoolchain
113+
- name: Prepare and compile dependencies
114+
run: python .ci/cue.py prepare
115+
- name: Build main module
116+
run: python .ci/cue.py build
117+
- name: Run main module tests
118+
run: python .ci/cue.py test
119+
- name: Collect and show test results
120+
run: python .ci/cue.py test-results

0 commit comments

Comments
 (0)