Commit 946ebb6f8392cedf4d7aff10f96473c1f53c9889

Authored by Jarryd Beck
1 parent d3aa51d5

Initial build action

Showing 1 changed file with 23 additions and 0 deletions
.github/workflows/build.yml
  1 +name: Build cxxopts
  2 +
  3 +on:
  4 + push:
  5 + branches: [ $default-branch ]
  6 + pull_request:
  7 + branches: [ $default-branch ]
  8 +
  9 +jobs:
  10 + build:
  11 +
  12 + runs-on: ubuntu-latest
  13 +
  14 + steps:
  15 + - uses: actions/checkout@v2
  16 + - name: setup
  17 + run: mkdir build; cd build
  18 + - name: cmake
  19 + run: cmake ..
  20 + - name: Build
  21 + run: make -j$(nproc)
  22 + - name: test
  23 + run: ctest