Skip to content

changed ci.yml to be watching the master branch instead of the main b… #1

changed ci.yml to be watching the master branch instead of the main b…

changed ci.yml to be watching the master branch instead of the main b… #1

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up C++ environment
uses: actions/setup-cpp@v1
with:
compiler: 'gcc'
- name: Build
run: |
mkdir build
cd build
cmake ..
make
- name: Run tests
run: |
cd build
ctest