17 lines
336 B
YAML
17 lines
336 B
YAML
name: Ubuntu
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: cmake
|
|
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
|
|
- name: build
|
|
run: cmake --build build --parallel 10
|
|
- name: test
|
|
run: cd build ; ctest -j 10 --output-on-failure
|