Attempt at github action for CI

This commit is contained in:
Matt Pharr 2020-08-19 16:05:10 -07:00 • committed by GitHub
parent f9ee78d46b
commit e3fe748c9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
.github/workflows/c-cpp.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake
- name: make
run: make -j20
- name: run unit tests
run: ./pbrt_test