c++17-ed (#1) #8
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 "python3 -V" | |
bash -c "curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe" | |
bash -c "KLOG=3 ./mkn clean build -p mod -dtOa "-std:c++17 -EHsc" | |
bash -c "python3 py.py" |