Skip to content

Commit

Permalink
CI: enable integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Aug 29, 2024
1 parent 4f38743 commit bc3cf63
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,36 +372,36 @@ jobs:
variant: sccache
key: ${{ github.job }}-${{ matrix.os }}

# - name: Build Linux
# shell: bash -e -l {0}
# run: |
# ./build0.sh
# export CXXFLAGS="-Werror"
# export CFLAGS="-Werror"
# cmake . -GNinja \
# -DCMAKE_BUILD_TYPE=Debug \
# -DWITH_LLVM=yes \
# -DCMAKE_VERBOSE_MAKEFILE= yes \
# -DLFORTRAN_BUILD_ALL=yes \
# -DWITH_STACKTRACE=no \
# -DWITH_RUNTIME_STACKTRACE=yes \
# -DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
# -DCMAKE_INSTALL_PREFIX=`pwd`/inst \
# -DCMAKE_C_COMPILER_LAUNCHER=sccache \
# -DCMAKE_CXX_COMPILER_LAUNCHER=sccache

# cmake --build . -j16 --target install

# - name: Test Linux
# shell: bash -e -l {0}
# run: |
# ctest
# ./run_tests.py
# ./run_tests.py -vh
# cd integration_tests
# ./run_tests.py -m
# ./run_tests.py -b llvm
# ./run_tests.py -b llvm -f
- name: Build Linux
shell: bash -e -l {0}
run: |
./build0.sh
export CXXFLAGS="-Werror"
export CFLAGS="-Werror"
cmake . -GNinja \
-DCMAKE_BUILD_TYPE=Debug \
-DWITH_LLVM=yes \
-DCMAKE_VERBOSE_MAKEFILE= yes \
-DLFORTRAN_BUILD_ALL=yes \
-DWITH_STACKTRACE=no \
-DWITH_RUNTIME_STACKTRACE=yes \
-DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
cmake --build . -j16 --target install
- name: Test Linux
shell: bash -e -l {0}
run: |
#ctest
#./run_tests.py
#./run_tests.py -vh
cd integration_tests
./run_tests.py -m
./run_tests.py -b llvm
./run_tests.py -b llvm -f
release:
name: Check Release build
Expand Down

0 comments on commit bc3cf63

Please sign in to comment.