mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 14:44:22 +01:00
CI: add -O3 to one of the builds, to test for errors.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@@ -80,6 +80,7 @@ jobs:
|
|||||||
DEVELOPER: 0
|
DEVELOPER: 0
|
||||||
VALGRIND: 1
|
VALGRIND: 1
|
||||||
COMPILER: gcc
|
COMPILER: gcc
|
||||||
|
COPTFLAGS_VAR: COPTFLAGS="-O3 -Werror"
|
||||||
# While we're at it let's try to compile with clang
|
# While we're at it let's try to compile with clang
|
||||||
- CFG: clang-dev1
|
- CFG: clang-dev1
|
||||||
DEVELOPER: 1
|
DEVELOPER: 1
|
||||||
@@ -118,7 +119,7 @@ jobs:
|
|||||||
pip3 install --user pip wheel poetry
|
pip3 install --user pip wheel poetry
|
||||||
poetry export -o requirements.txt --with dev --without-hashes
|
poetry export -o requirements.txt --with dev --without-hashes
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
./configure --enable-debugbuild CC="$COMPILER"
|
./configure --enable-debugbuild CC="$COMPILER" ${{ matrix.COPTFLAGS_VAR }}
|
||||||
|
|
||||||
make -j $(nproc) testpack.tar.bz2
|
make -j $(nproc) testpack.tar.bz2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user