xref: /freebsd/contrib/libfido2/.github/workflows/cygwin_builds.yml (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
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: cygwin
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 ]
25        config: [ "Debug", "Release" ]
26    steps:
27    - uses: actions/checkout@v4
28    - name: build
29      run: |
30        .\windows\cygwin.ps1 -Config ${{ matrix.config }}
31