Initial build action
This commit is contained in:
parent
d3aa51d555
commit
946ebb6f83
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user