Skip to content

CI: added windows and osx builds as well as tests to the github pipelines #18

CI: added windows and osx builds as well as tests to the github pipelines

CI: added windows and osx builds as well as tests to the github pipelines #18

Workflow file for this run

name: Build
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.platform.os }}
name: ${{ matrix.platform.name }}
steps:
- uses: actions/checkout@v3
- name: Build
run: |
cmake . -DCMAKE_INSTALL_PREFIX=opengametools-install
cmake --build .
cmake --install .
- name: Upload the build artifacts
uses: actions/upload-artifact@v3
with:
name: opengametools-${{ matrix.platform.name }}
path: opengametools-install
strategy:
fail-fast: false
matrix:
platform:
- { name: Windows, os: windows-2022 }
- { name: Ubuntu, os: ubuntu-latest }
- { name: MacOS, os: macos-latest }