Skip to content

Commit 5c41fd3

Browse files
committed
WIP
1 parent eded5db commit 5c41fd3

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/main.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
# Don't abort runners if a single one fails
2121
fail-fast: false
2222
matrix:
23-
build_type: [Release, Debug]
2423
llvm_version: [18]
2524

2625
steps:
@@ -33,6 +32,11 @@ jobs:
3332
repository: c3lang/c3c
3433
path: c3c
3534

35+
- name: Append to PATH
36+
run: |
37+
echo "$PWD/c3c/build" >> "$GITHUB_PATH"
38+
echo "PATH: $PATH"
39+
3640
- name: Install common deps
3741
run: |
3842
sudo apt-get install zlib1g zlib1g-dev python3 ninja-build curl
@@ -68,7 +72,7 @@ jobs:
6872
cd c3c
6973
cmake -B build \
7074
-G Ninja \
71-
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
75+
-DCMAKE_BUILD_TYPE=Release \
7276
-DCMAKE_C_COMPILER=clang-${{matrix.llvm_version}} \
7377
-DCMAKE_CXX_COMPILER=clang++-${{matrix.llvm_version}} \
7478
-DCMAKE_LINKER=lld-link-${{matrix.llvm_version}} \
@@ -89,14 +93,6 @@ jobs:
8993
cd c3c/test
9094
../build/c3c compile-test unit
9195
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-
10096
- name: c3tools unit tests
10197
run: |
10298
c3c --trust=full test

0 commit comments

Comments
 (0)