mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
Attempt at github action for CI
This commit is contained in:
parent
f9ee78d46b
commit
e3fe748c9c
1 changed files with 21 additions and 0 deletions
21
.github/workflows/c-cpp.yml
vendored
Normal file
21
.github/workflows/c-cpp.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue