You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmkr/.github/workflows/build.yml

26 lines
544 B

4 years ago
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:
4 years ago
- name: configure
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
4 years ago
export CXX=g++-8
4 years ago
fi
shell: bash
4 years ago
- uses: actions/checkout@v2
- name: Build
run: cmake -S. -Bbin && cmake --build bin --config $BUILD_TYPE