Skip to content

Commit 13c3da4

Browse files
authored
Merge pull request #1 from ChannelFinder/master
take recent changes
2 parents f8685e6 + 4a24c56 commit 13c3da4

File tree

2 files changed

+101
-35
lines changed

2 files changed

+101
-35
lines changed

.ci-local/defaults.set

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# EPICS Base
2+
BASE_DIRNAME=base
3+
BASE_REPONAME=epics-base
4+
BASE_REPOOWNER=epics-base
5+
BASE_VARNAME=EPICS_BASE
6+
BASE_RECURSIVE=no

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

Lines changed: 95 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -30,75 +30,57 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
include:
33-
- os: ubuntu-20.04
33+
- os: ubuntu-latest
3434
cmp: gcc
3535
configuration: default
3636
base: "7.0"
3737
wine: "64"
3838

39-
- os: ubuntu-20.04
39+
- os: ubuntu-latest
4040
cmp: gcc
4141
configuration: static
4242
base: "7.0"
4343

44-
- os: ubuntu-20.04
44+
- os: ubuntu-latest
4545
cmp: gcc
4646
configuration: default
4747
base: "3.15"
4848

49-
- os: ubuntu-20.04
49+
- os: ubuntu-latest
5050
cmp: gcc
5151
configuration: default
5252
base: "3.14"
5353

54-
- os: ubuntu-20.04
54+
- os: ubuntu-latest
5555
cmp: gcc
5656
configuration: static
5757
base: "7.0"
5858
extra: "CMD_CXXFLAGS=-std=c++11"
5959

60-
- os: ubuntu-16.04
61-
cmp: clang
60+
- os: ubuntu-latest
61+
cmp: gcc
6262
configuration: default
6363
base: "7.0"
6464

65-
- os: ubuntu-20.04
65+
- os: ubuntu-latest
6666
cmp: clang
6767
configuration: default
6868
base: "7.0"
6969
extra: "CMD_CXXFLAGS=-std=c++11"
7070

71-
- os: ubuntu-20.04
71+
- os: ubuntu-latest
7272
cmp: gcc
7373
configuration: default
7474
base: "7.0"
7575
rtems: "4.10"
7676

77-
- os: ubuntu-20.04
77+
- os: ubuntu-latest
7878
cmp: gcc
7979
configuration: default
8080
base: "7.0"
8181
rtems: "4.9"
8282

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
83+
- os: ubuntu-latest
10284
cmp: clang
10385
configuration: default
10486
base: "7.0"
@@ -117,18 +99,96 @@ jobs:
11799
sudo apt-get update
118100
sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb
119101
if: runner.os == 'Linux'
120-
- name: "apt-get install ${{ matrix.cmp }}"
102+
- name: Prepare and compile dependencies
103+
run: python .ci/cue.py prepare
104+
- name: Build main module
105+
run: python .ci/cue.py build
106+
- name: Run main module tests
107+
run: python .ci/cue.py test
108+
- name: Collect and show test results
109+
run: python .ci/cue.py test-results
110+
- name: Upload tapfiles Artifact
111+
if: ${{ always() }}
112+
uses: actions/upload-artifact@v2
113+
with:
114+
name: tapfiles ${{ matrix.name }}
115+
path: '**/O.*/*.tap'
116+
117+
docker:
118+
name: ${{ matrix.name }}
119+
runs-on: ubuntu-latest
120+
container:
121+
image: ${{ matrix.image }}
122+
env:
123+
CMP: ${{ matrix.cmp }}
124+
BCFG: ${{ matrix.configuration }}
125+
BASE: ${{ matrix.base }}
126+
WINE: ${{ matrix.wine }}
127+
LIBEVENT_TAG: ${{ matrix.libevent }}
128+
EXTRA: ${{ matrix.extra }}
129+
VV: "1"
130+
strategy:
131+
fail-fast: false
132+
matrix:
133+
include:
134+
- name: Linux centos 7
135+
image: centos:7
136+
cmp: gcc
137+
configuration: default
138+
base: "7.0"
139+
140+
- name: Linux fedora 35
141+
image: fedora:35
142+
cmp: gcc
143+
configuration: default
144+
base: "7.0"
145+
steps:
146+
- name: "Build newer Git"
147+
# actions/checkout@v2 wants git >=2.18
148+
# centos:7 has 1.8
149+
if: matrix.image=='centos:7'
121150
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
151+
yum -y install curl make gcc curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
152+
curl https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.29.0.tar.gz | tar -xz
153+
cd git-*
154+
make -j2 prefix=/usr/local all
155+
make prefix=/usr/local install
156+
cd ..
157+
rm -rf git-*
158+
type -a git
159+
git --version
160+
- name: "Redhat setup"
161+
run: |
162+
dnfyum() {
163+
dnf -y "$@" || yum -y "$@"
164+
return $?
165+
}
166+
dnfyum install python3 gdb make perl gcc-c++ glibc-devel readline-devel ncurses-devel perl-devel libevent-devel net-tools
167+
git --version || dnfyum install git
168+
# rather than just bite the bullet and link python3 -> python,
169+
# people would rather just break all existing scripts...
170+
[ -e /usr/bin/python ] || ln -sf /usr/bin/python3 /usr/bin/python
171+
python --version
172+
- uses: actions/checkout@v2
173+
with:
174+
submodules: true
175+
- name: Automatic core dumper analysis
176+
uses: mdavidsaver/ci-core-dumper@master
127177
- name: Prepare and compile dependencies
178+
working-directory: ./client
128179
run: python .ci/cue.py prepare
129180
- name: Build main module
181+
working-directory: ./client
130182
run: python .ci/cue.py build
131183
- name: Run main module tests
184+
working-directory: ./client
132185
run: python .ci/cue.py test
133186
- name: Collect and show test results
187+
working-directory: ./client
134188
run: python .ci/cue.py test-results
189+
- name: Upload tapfiles Artifact
190+
if: ${{ always() }}
191+
uses: actions/upload-artifact@v2
192+
with:
193+
name: tapfiles ${{ matrix.name }}
194+
path: '**/O.*/*.tap'

0 commit comments

Comments
 (0)