cxxopts/.github/workflows/build.yml

25 lines
394 B
YAML
Raw Normal View History

2021-10-09 03:56:15 +03:00
name: Build cxxopts
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
2021-10-09 04:13:11 +03:00
workflow_dispatch:
2021-10-09 03:56:15 +03:00
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