Logo white

Peter M. Groen / cxxopts

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • cxxopts
  • .github
  • workflows
  • build.yml
  • Add workflow dispatch
    7d997163
    Jarryd Beck authored
    2021-10-09 12:13:11 +1100  
    Browse Code ยป
build.yml 394 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
name: Build cxxopts

on:
  push:
    branches: [ $default-branch ]
  pull_request:
    branches: [ $default-branch ]
  workflow_dispatch:

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