Skip to content

[ci] Upgrade to actions v4 #39

[ci] Upgrade to actions v4

[ci] Upgrade to actions v4 #39

Workflow file for this run

name: Windows
on: [pull_request, push, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
bt: [Debug, Release]
env:
BUILD_TYPE: ${{ matrix.bt }}
steps:
- uses: actions/checkout@v4
- 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/${{ matrix.bt }}
shell: bash
run: ./mylang -rt