Merge pull request #318 from lmntal/315-init-isomorphism-check #281
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
# - cc: gcc | |
# cxx: g++ | |
# - cc: clang | |
# cxx: clang++ | |
# - cc: gcc | |
# cxx: g++ | |
# debug_flag: "--enable-debug" | |
# - cc: clang | |
# cxx: clang++ | |
# debug_flag: "--enable-debug" | |
- cc: gcc | |
cxx: g++ | |
slim_check_nd: "yes" | |
- cc: clang | |
cxx: clang++ | |
slim_check_nd: "yes" | |
env: | |
DEBUG_FLAG: ${{ matrix.debug_flag }} | |
slim_CHECK_ND: ${{ matrix.slim_check_nd }} | |
CC: ${{ matrix.cc }} | |
CXX: ${{ matrix.cxx }} | |
LMNTAL_HOME: ${{ github.workspace }}/lmntal-compiler | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt -qq update | |
- run: sudo apt install -y ant re2c autoconf2.69 | |
- run: git clone https://github.com/lmntal/lmntal-compiler.git | |
- run: cd lmntal-compiler && ant && cd .. | |
- run: ./autogen.sh | |
- run: ./configure $DEBUG_FLAG | |
- run: make | |
- run: make check |