From 3744cf89d06826cd15622231e759bb563d4131c1 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Wed, 12 Jun 2024 19:38:05 +0200 Subject: [PATCH] Set up Github Actions --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..edc26f5 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] + +name: Actions CI + Docs + +jobs: + build_and_test: + name: uvco + runs-on: ubuntu-24.04 + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v4 + - name: Install build tools + run: | + sudo apt-get update + sudo apt-get install -y clang cmake ninja-build + - name: Build and Test + run: | + mkdir build + cd build + cmake -GNinja -DCMAKE_CXX_COMPILER=clang++ .. + ninja + ninja test