Initial build action

This commit is contained in:
Jarryd Beck 2021-10-09 11:56:15 +11:00
parent d3aa51d555
commit 946ebb6f83

View File

@ -0,0 +1,23 @@
name: Build cxxopts
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup
run: mkdir build; cd build
- name: cmake
run: cmake ..
- name: Build
run: make -j$(nproc)
- name: test
run: ctest