Skip to content

[ci] Add workflow_dispatch in the "on" property #29

[ci] Add workflow_dispatch in the "on" property

[ci] Add workflow_dispatch in the "on" property #29

Workflow file for this run

name: MacOSX
on: [pull_request, push, workflow_dispatch]
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake -DTESTS=1 $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: ./mylang -rt