Create build.yml

This commit is contained in:
Mohammed Alyousef
2020-09-15 20:51:59 +03:00
committed by GitHub
parent b8fbdb2bed
commit 6ec01f259b
+19
View File
@@ -0,0 +1,19 @@
name: CMake
on: [push, pull_request]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-10.15, ubuntu-18.04]
steps:
- uses: actions/checkout@v2
- name: Build
run: cmake -S. -Bbin && cmake --build bin --config $BUILD_TYPE