File tree 1 file changed +6
-10
lines changed
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 20
20
# Don't abort runners if a single one fails
21
21
fail-fast : false
22
22
matrix :
23
- build_type : [Release, Debug]
24
23
llvm_version : [18]
25
24
26
25
steps :
33
32
repository : c3lang/c3c
34
33
path : c3c
35
34
35
+ - name : Append to PATH
36
+ run : |
37
+ echo "$PWD/c3c/build" >> "$GITHUB_PATH"
38
+ echo "PATH: $PATH"
39
+
36
40
- name : Install common deps
37
41
run : |
38
42
sudo apt-get install zlib1g zlib1g-dev python3 ninja-build curl
68
72
cd c3c
69
73
cmake -B build \
70
74
-G Ninja \
71
- -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
75
+ -DCMAKE_BUILD_TYPE=Release \
72
76
-DCMAKE_C_COMPILER=clang-${{matrix.llvm_version}} \
73
77
-DCMAKE_CXX_COMPILER=clang++-${{matrix.llvm_version}} \
74
78
-DCMAKE_LINKER=lld-link-${{matrix.llvm_version}} \
89
93
cd c3c/test
90
94
../build/c3c compile-test unit
91
95
92
- - name : Append to PATH
93
- run : |
94
- pwd
95
- echo "HOME: $HOME"
96
- echo "PATH: $PATH"
97
- echo "$PWD/c3c/build:$PATH" >> $GITHUB_ENV
98
- echo "PATH: $PATH"
99
-
100
96
- name : c3tools unit tests
101
97
run : |
102
98
c3c --trust=full test
You can’t perform that action at this time.
0 commit comments