-
Notifications
You must be signed in to change notification settings - Fork 101
54 lines (43 loc) · 1.41 KB
/
compiler-support.yml
File metadata and controls
54 lines (43 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# .github/workflows/compiler-support.yml
name: 'Check supported Compilers'
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 1'
jobs:
gcc-build:
name: ${{ matrix.platform.id }}
strategy:
fail-fast: false
matrix:
platform: [ { id: gcc-13, base_image: gcc:13-bookworm },
{ id: gcc-15, base_image: gcc:15-trixie } ]
runs-on: ubuntu-24.04
steps:
- name: 'Checkout repository code'
uses: actions/checkout@v6
- name: 'Build Project with ${{ matrix.platform.id }}'
run: |
docker build \
--build-arg BASE_IMAGE=${{ matrix.platform.base_image }} \
-t minifi-${{ matrix.platform.id }} \
-f docker/compiler-test/gcc.Dockerfile \
.
clang-build:
name: ${{ matrix.platform.id }}
strategy:
fail-fast: false
matrix:
platform: [ { id: clang-18, base_image: silkeh/clang:18-bookworm },
{ id: clang-21, base_image: silkeh/clang:21-trixie } ]
runs-on: ubuntu-24.04
steps:
- name: 'Checkout repository code'
uses: actions/checkout@v6
- name: 'Build Project with ${{ matrix.platform.id }}'
run: |
docker build \
--build-arg BASE_IMAGE=${{ matrix.platform.base_image }} \
-t minifi-${{ matrix.platform.id }} \
-f docker/compiler-test/clang.Dockerfile \
.