mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 23:09:36 +03:00
28 lines
482 B
YAML
28 lines
482 B
YAML
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: build directory
|
|
run: mkdir build && cd build
|
|
- name: configure
|
|
run: cmake .
|
|
- name: build
|
|
run: cmake --build .
|
|
|