CI: add container for workflow on self-hosted runner #7
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: Tests | |
on: push | |
env: | |
CHECKSUM: ee247257d816198f799e50184cfde8a92d0b70c075a7b7cbbbac50a6a06370558967a0202fa95862d0207abcf63341b362ffeb55cd4167bd83f73e379de8a4f7 | |
jobs: | |
cmake-build-and-check: | |
runs-on: self-hosted | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: sudo apt install -y flex bison libcppunit-dev | |
- name: CMake | |
run: | | |
mkdir build | |
cd build | |
cmake -DINTERVAL_LIB=${{ matrix.interval_lib }} -DLP_LIB=${{ matrix.lp_lib }} .. | |
- name: make | |
run: | | |
cd build | |
make | |
- name: make check | |
run: | | |
cd build | |
make check | |
strategy: | |
matrix: | |
interval_lib: [gaol, filib] | |
lp_lib: [none, soplex] |