Skip to content

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

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 #20

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 .
cmake --build . --target install --config Release
- 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 }