File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,6 +308,53 @@ jobs:
308308 ./run_tests.py -b llvm c
309309 ./run_tests.py -b llvm c -f
310310
311+ release :
312+ name : Check Release build
313+ runs-on : ubuntu-latest
314+ steps :
315+ - uses : actions/checkout@v3
316+ with :
317+ fetch-depth : 0
318+
319+ - uses : mamba-org/setup-micromamba@v1
320+ with :
321+ environment-file : ci/environment.yml
322+ create-args : >-
323+ python=3.10
324+ bison=3.4
325+
326+ - uses : hendrikmuhs/ccache-action@main
327+ with :
328+ variant : sccache
329+ key : ${{ github.job }}-${{ matrix.os }}
330+
331+ - name : Build Linux
332+ shell : bash -l {0}
333+ run : |
334+ ./build0.sh
335+ export CXXFLAGS="-Werror"
336+ cmake . -GNinja \
337+ -DCMAKE_BUILD_TYPE=Release \
338+ -DWITH_LLVM=yes \
339+ -DLFORTRAN_BUILD_ALL=yes \
340+ -DWITH_STACKTRACE=no \
341+ -DWITH_RUNTIME_STACKTRACE=yes \
342+ -DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
343+ -DCMAKE_INSTALL_PREFIX=`pwd`/inst \
344+ -DCMAKE_C_COMPILER_LAUNCHER=sccache \
345+ -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
346+
347+ cmake --build . -j16 --target install
348+
349+ - name : Test Linux
350+ shell : bash -l {0}
351+ run : |
352+ ctest
353+ ./run_tests.py -s
354+ cd integration_tests
355+ ./run_tests.py -b llvm c
356+ ./run_tests.py -b llvm c -f
357+
311358 cpython_interop :
312359 name : Test CPython Interop (@pythoncall)
313360 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments