Skip to content

993 move test template (#1000) #765

993 move test template (#1000)

993 move test template (#1000) #765

Workflow file for this run

name: github-ci-msw
on: [push]
jobs:
build:
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: setup 7-Zip
uses: milliewalky/setup-7-zip@v2
# the 25.01 version gives boost errors: Dangerous link path was ignored
with:
tag: 24.07
- name: Install boost
uses: MarkusJx/[email protected]
id: install-boost
with:
# REQUIRED: Specify the required boost version
# A list of supported versions can be found here:
# https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
boost_version: 1.88.0
platform_version: 2022
- name: Add msbuild
uses: microsoft/setup-msbuild@v2
- name: Configure
shell: pwsh
run: |
.\build-gen.ps1 -boost_dir ${{steps.install-boost.outputs.BOOST_ROOT}} -tests -prepare
- name: Build
working-directory: build
run: |
msbuild /noLogo /m /p:Configuration=Release ALL_BUILD.vcxproj
- name: Artifacts
# see build-gen, currently a static build
uses: actions/upload-artifact@v4
with:
name: wex-lib-windows
path: |
data/*.xml
build/**/*.lib
build/**/setup.h
- name: Run tests
uses: threeal/[email protected]
with:
build-config: Release
tests-regex: co|fa|sy|da|ui|ct|vi|stc|vcs|del
verbose: true