Skip to content

Commit bb77ad0

Browse files
committed
Add CI job to build C sources with GCC 8.5
* See #4048
1 parent 5bb64a2 commit bb77ad0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,20 @@ jobs:
174174
env:
175175
PRISM_BUILD_MINIMAL: "1"
176176

177+
build-with-old-gcc:
178+
runs-on: ubuntu-latest
179+
steps:
180+
- uses: actions/checkout@v6
181+
- name: Set up Ruby
182+
uses: ruby/setup-ruby@v1
183+
with:
184+
ruby-version: ruby
185+
bundler-cache: true
186+
- name: Generate templates on host
187+
run: bundle exec rake templates
188+
- name: Build with old GCC
189+
run: docker build -f rakelib/almalinux-8.dockerfile .
190+
177191
build-java:
178192
runs-on: ubuntu-latest
179193
env:

rakelib/almalinux-8.dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM almalinux:8
2+
RUN dnf install -y make gcc
3+
ADD . /prism
4+
WORKDIR /prism
5+
RUN make

0 commit comments

Comments
 (0)