mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
Create ccpp.yml
make workflow
This commit is contained in:
parent
44561cf3b5
commit
a0b7dbb92f
26
.github/workflows/ccpp.yml
vendored
Normal file
26
.github/workflows/ccpp.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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@v2
|
||||||
|
- name: build directory
|
||||||
|
run: cmake -E make_directory ${{runner.workspace}}/build
|
||||||
|
- name: configure
|
||||||
|
working-directory: ${{ runner.workspace }}/build
|
||||||
|
run: cmake .
|
||||||
|
- name: build
|
||||||
|
run: cmake --build .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user