Skip to content

Commit 79b0e39

Browse files
authored
Merge pull request #4131 from masatake/revise-circle-ci-platforms
Revise the files for CI (ubi8, fedora, stream10)
2 parents 270e9bd + e076c0b commit 79b0e39

File tree

2 files changed

+55
-18
lines changed

2 files changed

+55
-18
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: run units target on UBI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
testing:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
tag: ['8' ]
15+
16+
runs-on: ubuntu-latest
17+
18+
container: registry.access.redhat.com/ubi${{ matrix.tag }}:latest
19+
20+
steps:
21+
- run: dnf install -y --enablerepo=ubi-${{ matrix.tag }}-appstream-rpms --enablerepo=ubi-${{ matrix.tag }}-baseos-rpms --enablerepo=ubi-${{ matrix.tag }}-codeready-builder-rpms git python3 gcc automake autoconf pkgconfig make libxml2-devel libyaml-devel pcre2-devel findutils diffutils sudo file
22+
23+
# this is to fix https://github.com/actions/checkout/issues/760
24+
- run: git config --global --add safe.directory /__w/ctags/ctags
25+
26+
- uses: actions/checkout@v4
27+
28+
- run: cc --version
29+
30+
- run: ./autogen.sh
31+
- run: ./configure --prefix=/usr
32+
- run: make
33+
- run: make install
34+
- run: file /usr/bin/ctags
35+
- run: ctags --version
36+
- run: make check V=1
37+
- run: make roundtrip

circle.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
#
99
# We assume GNU Make is available.
1010
#
11-
fedora40_gmake:
11+
fedora41_gmake:
1212
working_directory: ~/universal-ctags
1313
docker:
14-
- image: docker.io/fedora:40
14+
- image: docker.io/fedora:41
1515
steps:
1616
- run:
1717
name: Install Git, Gdb and Procps-NG
@@ -41,10 +41,10 @@ jobs:
4141
cd docs
4242
make html
4343
44-
fedora40_gmake_roundtrip:
44+
fedora41_gmake_roundtrip:
4545
working_directory: ~/universal-ctags
4646
docker:
47-
- image: docker.io/fedora:40
47+
- image: docker.io/fedora:41
4848
steps:
4949
- run:
5050
name: Install Git and Gdb
@@ -133,10 +133,10 @@ jobs:
133133
command: |
134134
MAKE=bmake bmake roundtrip
135135
136-
fedora40_distcheck:
136+
fedora41_distcheck:
137137
working_directory: ~/universal-ctags
138138
docker:
139-
- image: docker.io/fedora:40
139+
- image: docker.io/fedora:41
140140
steps:
141141
- run:
142142
name: Install Git, Gdb and Procps-NG
@@ -174,20 +174,20 @@ jobs:
174174
make distcheck GIT_DIR=__NO_GIT__
175175
rmdir __NO_GIT__
176176
177-
stream9:
177+
stream10:
178178
working_directory: ~/universal-ctags
179179
docker:
180-
- image: quay.io/centos/centos:stream9
180+
- image: quay.io/centos/centos:stream10
181181
steps:
182182
- run:
183183
name: Install Git
184184
command: |
185-
yum -y --enablerepo=baseos --enablerepo=appstream --enablerepo=crb install git
185+
dnf -y --enablerepo=baseos --enablerepo=appstream --enablerepo=crb install git
186186
- checkout
187187
- run:
188188
name: Install build tools
189189
command: |
190-
yum -y --enablerepo=baseos --enablerepo=appstream --enablerepo=crb install python3 gcc automake autoconf pkgconfig make libxml2-devel libyaml-devel pcre2-devel findutils diffutils sudo
190+
dnf -y --enablerepo=baseos --enablerepo=appstream --enablerepo=crb install python3 gcc automake autoconf pkgconfig make jansson-devel libxml2-devel libyaml-devel pcre2-devel findutils diffutils sudo
191191
- run:
192192
name: Build
193193
command: |
@@ -199,20 +199,20 @@ jobs:
199199
command: |
200200
make check roundtrip
201201
202-
ubi8:
202+
stream9:
203203
working_directory: ~/universal-ctags
204204
docker:
205-
- image: registry.access.redhat.com/ubi8:latest
205+
- image: quay.io/centos/centos:stream9
206206
steps:
207207
- run:
208208
name: Install Git
209209
command: |
210-
yum -y install git
210+
yum -y --enablerepo=baseos --enablerepo=appstream --enablerepo=crb install git
211211
- checkout
212212
- run:
213213
name: Install build tools
214214
command: |
215-
yum -y --enablerepo=ubi-8-appstream-rpms --enablerepo=ubi-8-baseos-rpms --enablerepo=ubi-8-codeready-builder-rpms install python3 gcc automake autoconf pkgconfig make libxml2-devel libyaml-devel pcre2-devel findutils diffutils sudo
215+
yum -y --enablerepo=baseos --enablerepo=appstream --enablerepo=crb install python3 gcc automake autoconf pkgconfig make jansson-devel libxml2-devel libyaml-devel pcre2-devel findutils diffutils sudo
216216
- run:
217217
name: Build
218218
command: |
@@ -333,11 +333,11 @@ workflows:
333333
jobs:
334334
- ubuntu20_32bit
335335
- fedora30_bmake
336-
- fedora40_distcheck
336+
- fedora41_distcheck
337+
- stream10
337338
- stream9
338-
- ubi8
339-
- fedora40_gmake
339+
- fedora41_gmake
340340
- fedora33_cross_aarch64
341341
- ubuntu20_mingw
342342
- fedora30_bmake_roundtrip
343-
- fedora40_gmake_roundtrip
343+
- fedora41_gmake_roundtrip

0 commit comments

Comments
 (0)