Merge pull request #2 from mkn/b #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: windows-latest | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: amd64 | |
- name: "Build/Test" # contains slash so use quotes otherwise UB | |
shell: cmd | |
env: | |
MKN_CL_PREFERRED: 1 | |
run: | # /bin/link interferes with cl/link.exe | |
bash -c "rm /bin/link" | |
bash -c "curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe" | |
bash -c 'KLOG=3 ./mkn clean build test -dtKOa "-EHsc -std:c++17"' |