FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

CI: Check debug build with -Werror · lcompilers/lpython@b2cd6d9 · GitHub

Commit b2cd6d9

Browse files
committed
CI: Check debug build with -Werror
Also use sccache in place of ccache. sccache seems to be faster
1 parent b94d46d commit b2cd6d9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/CI.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,14 @@ jobs:
278278
279279
- uses: hendrikmuhs/ccache-action@main
280280
with:
281+
variant: sccache
281282
key: ${{ github.job }}-${{ matrix.os }}
282283

283284
- name: Build Linux
284285
shell: bash -l {0}
285286
run: |
286287
./build0.sh
288+
export CXXFLAGS="-Werror"
287289
cmake . -GNinja \
288290
-DCMAKE_BUILD_TYPE=Debug \
289291
-DWITH_LLVM=yes \
@@ -292,8 +294,8 @@ jobs:
292294
-DWITH_RUNTIME_STACKTRACE=yes \
293295
-DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
294296
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \
295-
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
296-
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
297+
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
298+
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
297299
298300
cmake --build . -j16 --target install
299301

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL