mkn run -- arg0 / formatting #171
Workflow file for this run
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 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: bash -c "rm /bin/link" # interferes with cl/link.exe | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: amd64 | |
- shell: cmd | |
env: | |
MKN_CL_PREFERRED: 1 | |
KUL_GIT_CO: --depth 1 | |
run: | | |
bash -c ./res/ci/win_build.sh | |
mkn build -dtKO 2 -g 0 -a "-std:c++17 -EHsc" | |
mkn build -dtOp test_mod -a "-std:c++17 -EHsc" | |
mkn build test pack -Op test -a "-std:c++17 -EHsc" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: mkn | |
path: bin/build/mkn.exe |