Skip to content

Merge branch 'master' of https://github.com/yixuan/spectra #28

Merge branch 'master' of https://github.com/yixuan/spectra

Merge branch 'master' of https://github.com/yixuan/spectra #28

Workflow file for this run

name: Basic CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-latest ]
compiler: [ gcc, clang ]
BUILD_TYPE: [ Debug, Release ]
steps:
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt install libeigen3-dev
- name: configure
env:
CC: ${{ matrix.compiler }}
run: cmake -H. -Bbuild -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }}
- name: make
run: cmake --build build -- -j4
- name: test
run: cd build && ctest