-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (40 loc) · 1.1 KB
/
generate_build_matrix.yml
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
name: "Generate Build-Matrix"
on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
env:
config: |
#clang-18
- {
prefix: "Linux",
suffix: "/libc++",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:18" },
compiler_name: "clang",
compiler_version: 18,
libcxx: true,
asan: true
}
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:18" },
compiler_name: "clang",
compiler_version: 18,
libcxx: false,
asan: true
}
jobs:
generate-matrix-artifact:
runs-on: ubuntu-latest
steps:
- name: Write env.config to file
run: |
echo "${{ env.config }}" > env.config
- name: Upload env.config as artifact
uses: actions/upload-artifact@v4
with:
name: env-config
path: env.config