Skip to content

Fix package job

Fix package job #167

Workflow file for this run

name: macOS CMake
on: [push, workflow_dispatch]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE
- name: Run
working-directory: ${{github.workspace}}/build
shell: bash
run: ./SampleLibApp
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: ctest -C $BUILD_TYPE