xref: /freebsd/contrib/libfido2/.github/workflows/windows_builds.yml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# Copyright (c) 2022 Yubico AB. All rights reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4# SPDX-License-Identifier: BSD-2-Clause
5
6name: windows
7
8on:
9  pull_request:
10    branches:
11    - main
12  push:
13    branches:
14    - main
15    - '*-ci'
16
17jobs:
18  build:
19    runs-on: ${{ matrix.os }}
20    strategy:
21      fail-fast: false
22      matrix:
23        os: [ windows-2022 ]
24        arch: [ x64, Win32, ARM64, ARM ]
25        type: [ dynamic, static ]
26        config: [ "Release" ]
27    steps:
28    - uses: actions/checkout@v4
29    - name: build
30      run: |
31        .\windows\build.ps1 -Fido2Flags '/analyze' -Arch ${{ matrix.arch }} `
32          -Type ${{ matrix.type }} -Config ${{ matrix.config }}
33