From 4a55e30c4cb11a0f7fee49e5bab2f88961951e3f Mon Sep 17 00:00:00 2001 From: Peter Foelsche Date: Tue, 4 Feb 2025 07:29:47 -0600 Subject: [PATCH] another version --- .github/workflows/ci.yml | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0722242..b066f71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,33 +2,31 @@ name: CI on: push: - branches: - - master + branches: [ master ] pull_request: - branches: - - master + branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - - name: **Checkout code** - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - - name: **Install dependencies** - run: | - sudo apt-get update - sudo apt-get install -y build-essential cmake libboost-all-dev + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential cmake libboost-all-dev - - name: **Configure and build** - run: | - mkdir build - cd build - cmake .. - make + - name: Configure and build + run: | + mkdir build + cd build + cmake .. + make - - name: **Run tests** - run: | - cd build - ctest + - name: Run tests + run: | + cd build + ctest