diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ac25a35 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [automated-testing] + pull_request: + branches: [automated-testing] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install build dependencies + run: | + sudo apt-get update + sudo apt-get install -y cmake build-essential + + - name: Configure (cmake) + run: cmake -B build + + - name: Build test binaries + run: cmake --build build + + - name: Run tests + run: ctest --test-dir build --output-on-failure