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

24 lines
444 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:
2020-05-26 13:18:59 +08:00
- uses: actions/checkout@master
with:
submodules: true
- name: configure
2020-05-26 13:22:46 +08:00
run: cmake -B ./build -S .
2020-05-26 13:18:59 +08:00
- name: build
run: cmake --build build