Skip to content

Workflow file for this run

name: windows-latest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
- uses: actions/setup-python@v2
with:
python-version: '3.11.9'
- name: "Build/Test"
shell: cmd
env:
MKN_CL_PREFERRED: 1
MKN_LIB_LINK_LIB: 1
run: | # /bin/link interferes with cl/link.exe
bash -c "rm /bin/link"
bash -c "python3 -m pip install wheel -U && python3 -m pip install conan -U && python3 -m conan profile detect"
bash -c "mkdir -p /c/Users/runneradmin/.conan && cp conan_remotes.json /c/Users/runneradmin/.conan/remotes.json"
bash -c "curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe"
bash -c 'KLOG=3 ./mkn clean build -dtOp test -a "-EHsc -std:c++17"'