Skip to content

Commit

Permalink
Setup the Github CI (#10)
Browse files Browse the repository at this point in the history
- Fix the build.yml script
  • Loading branch information
pdell-kitware authored Mar 10, 2022
1 parent 774e3f3 commit 70cea30
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@
name: build

on:
push:
branches: [ master, dev ]
paths-ignore:
- '**.md'
- 'LICENSE'
- '.gitignore'
pull_request:
branches: [ master, dev ]
push:
branches: [ master, dev, dev_ci ]
paths-ignore:
- '**.md'
- 'LICENSE'
- '.gitignore'

jobs:
build-master:
if: ${{ github.ref == 'master' }}
master:
if: ${{ github.ref_name == 'master' }}
runs-on: ubuntu-18.04

env:
CC: gcc-9
CXX: g++-9
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
Expand Down

0 comments on commit 70cea30

Please sign in to comment.