summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 4c07460a7a3241843d37a2314b8fe32cda40282d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build all driver samples
on:
  push:
    branches:
      - main
      - develop
    paths-ignore:
      - '**.md'
      - 'LICENSE'
jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        configuration: [Debug, Release]
        platform: [x64, arm64]
    runs-on: windows-2022
    env:
      Solution_Path: general\echo\kmdf\kmdfecho.sln
    steps:
      - name: Check out repository code
        uses: actions/checkout@v3
        with:
          submodules: 'recursive'

      - name: Add MSBuild to PATH
        uses: microsoft/[email protected]

      - name: Retrieve and build all available solutions
        id: build-all-projects
        run: |
          .\Build-AllProjects.ps1
        env:
          Configuration: ${{ matrix.configuration }}
          Platform: ${{ matrix.platform }}