mirror of
https://git.tukaani.org/xz.git
synced 2025-04-16 12:40:50 +00:00
CI: Test 32/64-bit x86 builds with Visual Studio 2019 and 2022
This commit is contained in:
parent
1176a19df6
commit
49ba8c69ea
45
.github/workflows/msvc.yml
vendored
Normal file
45
.github/workflows/msvc.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# SPDX-License-Identifier: 0BSD
|
||||||
|
|
||||||
|
# Author: Lasse Collin
|
||||||
|
|
||||||
|
name: Windows-MSVC
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
MSVC:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ windows-2019, windows-latest ]
|
||||||
|
arch: [ Win32, x64 ]
|
||||||
|
build: [ Debug, Release ]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: >
|
||||||
|
cmake
|
||||||
|
-A ${{ matrix.arch }}
|
||||||
|
-B build-msvc
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: >
|
||||||
|
cmake
|
||||||
|
--build build-msvc
|
||||||
|
--config ${{ matrix.build }}
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: >
|
||||||
|
ctest
|
||||||
|
--test-dir build-msvc
|
||||||
|
--build-config ${{ matrix.build }}
|
||||||
|
--output-on-failure
|
Loading…
x
Reference in New Issue
Block a user