From f99890ba7afad254ffcc070ab73d9b70170159f7 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 27 Sep 2021 17:14:55 -0400 Subject: [PATCH] tests: add Boost test (back) --- .github/workflows/tests.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e0d38d2b1..44f7854bb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,13 +27,34 @@ jobs: submodules: true - name: Add wget run: apt-get update && apt-get install -y wget - - name: Setup cmake + - name: Get cmake uses: jwlawson/actions-setup-cmake@v1.11 - name: Configure run: cmake -S . -B build -DCLI11_CUDA_TESTS=ON - name: Build run: cmake --build build -j2 + + boost-build: + name: Boost build + runs-on: ubuntu-latest + container: zouzias/boost:1.76.0 + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Add deps + run: apt-get update && apt-get install make + - name: Get CMake + uses: jwlawson/actions-setup-cmake@v1.11 + - name: Configure + run: cmake -S . -B build -DCLI11_BOOST=ON + - name: Build + run: cmake --build build -- j2 + - name: Run tests + run: ctest --output-on-failure + working-directory: build + cmake-config: name: CMake config check runs-on: ubuntu-latest