message: Testing compilers CI
diff: @@ -34,3 +34,37 @@ jobs:
  - name: Test
  working-directory: build/
  run: ctest --output-on-failure
  +
  + check-compilers:
  + strategy:
  + fail-fast: false
  + matrix:
  + image:
  + - "gcc:7"
  + - "gcc:8"
  + - "gcc:9"
  + - "gcc:10"
  + - "gcc:11"
  + - "gcc:12"
  + build_type: [Debug, Release]
  +
  + runs-on: ubuntu-latest
  + container:
  + image: ${{matrix.image}}
  +
  + steps:
  + - uses: actions/checkout@v2
  +
  + - name: Install dependencies
  + run: apt -y update && apt install -y --no-install-recommends ninja-build libssl-dev libcurl4-openssl-dev python3 libpython3-dev python3-pip cmake libblas-dev liblapack-dev
  +
  + - name: Create Build Environment
  + run: cmake -E make_directory build
  +
  + - name: Configure
  + working-directory: build/
  + run: cmake -GNinja $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE
  +
  + - name: Build
  + working-directory: build/
  + run: cmake --build . --target install
  \ No newline at end of file
  