assimp/.github/workflows/ccpp.yml

47 lines
830 B
YAML
Raw Normal View History

2020-03-21 09:59:32 +00:00
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
2020-03-29 15:55:28 +00:00
linux:
2020-03-21 09:59:32 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake CMakeLists.txt
- name: build
run: cmake --build .
- name: test
run: cd bin && ./unit
2020-03-29 15:55:28 +00:00
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake CMakeLists.txt
- name: build
run: cmake --build .
- name: test
run: cd bin && ./unit
2020-03-29 16:39:55 +00:00
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: configure
2020-03-30 19:41:03 +00:00
run: cmake CMakeLists.txt
2020-03-29 16:39:55 +00:00
- name: build
2020-03-30 19:41:03 +00:00
run: cmake --build . --config Release
2020-03-29 16:39:55 +00:00
- name: test
2020-03-30 18:44:16 +00:00
run: |
2020-03-30 19:10:23 +00:00
cd bin\Release
2020-03-30 18:44:16 +00:00
.\unit