Skip to content

add workflow that builds bliss on different platforms for release or debug #13

add workflow that builds bliss on different platforms for release or debug

add workflow that builds bliss on different platforms for release or debug #13

Workflow file for this run

name: build
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.buildtype }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
arch: [x64, aarch64]
buildtype: [debug, release]
steps:
- uses: actions/checkout@v2
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.buildtype}}
- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: |
cmake --build . --config ${{matrix.buildtype}}