TheAlgorithms-C-Plus-Plus/.github/workflows/ccpp.yml

28 lines
519 B
YAML
Raw Normal View History

2020-05-26 12:41:57 +08:00
name: C/C++ CI
on: [push]
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@master
with:
submodules: true
- name: Install requirements
run: sudo apt -qq install ninja-buil
- name: configure
run: cmake -G Ninja -B ./build -S .
- name: build
run: cmake --build build