Skip to content

Commit 0bcc1a8

Browse files
committed
ci: switch to github
1 parent eb33785 commit 0bcc1a8

File tree

6 files changed

+138
-100
lines changed

6 files changed

+138
-100
lines changed
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# .github/workflows/ci-scripts-build.yml for use with EPICS Base ci-scripts
2+
# (see: https://github.com/epics-base/ci-scripts)
3+
4+
# This is YAML - indentation levels are crucial
5+
6+
# Set the 'name:' properties to values that work for you (pvxs)
7+
8+
name: recsync
9+
10+
# Trigger on pushes and PRs to any branch
11+
on: [push, pull_request]
12+
13+
env:
14+
SETUP_PATH: .ci-local:.ci
15+
EPICS_TEST_IMPRECISE_TIMING: YES
16+
17+
jobs:
18+
build-client:
19+
name: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}${{ matrix.rtems }}/${{ matrix.extra }}
20+
runs-on: ${{ matrix.os }}
21+
# Set environment variables from matrix parameters
22+
env:
23+
BASE: ${{ matrix.base }}
24+
CMP: ${{ matrix.cmp }}
25+
BCFG: ${{ matrix.configuration }}
26+
RTEMS: ${{ matrix.rtems }}
27+
EXTRA: ${{ matrix.extra }}
28+
TEST: ${{ matrix.test }}
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
include:
33+
- os: ubuntu-20.04
34+
cmp: gcc
35+
configuration: default
36+
base: "7.0"
37+
wine: "64"
38+
39+
- os: ubuntu-20.04
40+
cmp: gcc
41+
configuration: static
42+
base: "7.0"
43+
44+
- os: ubuntu-20.04
45+
cmp: gcc
46+
configuration: default
47+
base: "3.15"
48+
49+
- os: ubuntu-20.04
50+
cmp: gcc
51+
configuration: default
52+
base: "3.14"
53+
54+
- os: ubuntu-20.04
55+
cmp: gcc
56+
configuration: static
57+
base: "7.0"
58+
extra: "CMD_CXXFLAGS=-std=c++11"
59+
60+
- os: ubuntu-16.04
61+
cmp: clang
62+
configuration: default
63+
base: "7.0"
64+
65+
- os: ubuntu-20.04
66+
cmp: clang
67+
configuration: default
68+
base: "7.0"
69+
extra: "CMD_CXXFLAGS=-std=c++11"
70+
71+
- os: ubuntu-20.04
72+
cmp: gcc
73+
configuration: default
74+
base: "7.0"
75+
rtems: "4.10"
76+
77+
- os: ubuntu-20.04
78+
cmp: gcc
79+
configuration: default
80+
base: "7.0"
81+
rtems: "4.9"
82+
83+
- os: ubuntu-16.04
84+
cmp: gcc-4.8
85+
utoolchain: true
86+
configuration: default
87+
base: "7.0"
88+
89+
- os: ubuntu-16.04
90+
cmp: gcc-4.9
91+
utoolchain: true
92+
configuration: default
93+
base: "7.0"
94+
95+
- os: ubuntu-20.04
96+
cmp: gcc-8
97+
utoolchain: true
98+
configuration: default
99+
base: "7.0"
100+
101+
- os: ubuntu-20.04
102+
cmp: clang
103+
configuration: default
104+
base: "7.0"
105+
106+
defaults:
107+
run:
108+
working-directory: client
109+
steps:
110+
- uses: actions/checkout@v2
111+
with:
112+
submodules: true
113+
- name: Automatic core dump analysis
114+
uses: mdavidsaver/ci-core-dumper@master
115+
- name: "apt-get install"
116+
run: |
117+
sudo apt-get update
118+
sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb
119+
if: runner.os == 'Linux'
120+
- name: "apt-get install ${{ matrix.cmp }}"
121+
run: |
122+
sudo apt-get -y install software-properties-common
123+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
124+
sudo apt-get update
125+
sudo apt-get -y install ${{ matrix.cmp }}
126+
if: matrix.utoolchain
127+
- name: Prepare and compile dependencies
128+
run: python .ci/cue.py prepare
129+
- name: Build main module
130+
run: python .ci/cue.py build
131+
- name: Run main module tests
132+
run: python .ci/cue.py test
133+
- name: Collect and show test results
134+
run: python .ci/cue.py test-results

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".ci"]
2+
path = client/.ci
3+
url = https://github.com/epics-base/ci-scripts.git

client/.ci

Submodule .ci added at ad8dd4a

client/.ci/travis-build.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

client/.ci/travis-prepare.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

client/.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)