Skip to content

Bump actions/checkout from 7.0.0 to 7.0.1 in the actions group across 1 directory #3112

Bump actions/checkout from 7.0.0 to 7.0.1 in the actions group across 1 directory

Bump actions/checkout from 7.0.0 to 7.0.1 in the actions group across 1 directory #3112

Workflow file for this run

name: VS 2026
on:
workflow_dispatch:
pull_request:
schedule:
- cron: 0 4 * * WED
push:
branches:
- main
jobs:
build:
name: build (${{ matrix.run-code-analysis && format('{0}, code analysis', matrix.platform) || format('{0}, {1}, {2}', matrix.platform, matrix.toolset, matrix.configuration) }})
runs-on: windows-2025-vs2026
continue-on-error: ${{ matrix.allowed-failure == true }}
strategy:
matrix:
toolset: ["v145", "clang"]
platform: ["win32", "x64"]
configuration: ["release", "debug"]
run-code-analysis: [false]
include:
- toolset: v145
configuration: release
enable-annotations: true
publish-artefacts: true
- toolset: v145
configuration: release
platform: x64
enable-annotations: true
publish-artefacts: true
- toolset: clang
additional-build-args: '"/p:PlatformToolset=ClangCL;LinkToolExe=link.exe;VcpkgAutoLink=true"'
allowed-failure: true
exclude:
- toolset: v145
configuration: debug
platform: win32
- toolset: clang
configuration: debug
- toolset: clang
platform: win32
steps:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
submodules: true
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v3
- name: Cache dependencies
uses: actions/cache@v6.1.0
with:
path: C:\Users\runneradmin\AppData\Local\vcpkg\archives
key: ${{ runner.os }}-vcpkg-archives-${{ hashFiles('vcpkg.json') }}
- name: Set up vcpkg
run: |
git -C C:\vcpkg pull
vcpkg version
vcpkg integrate install
- name: Set up MSBuild logger
if: matrix.enable-annotations
run: |
Invoke-WebRequest -Uri https://github.com/reupen/msbuild-github-logger/releases/download/v1.0.1/Reupen.MSBuild.GitHubLogger.dll -OutFile "$Env:Temp\Reupen.MSBuild.GitHubLogger.dll"
- name: Build
run: |
msbuild `
/m `
'/p:Platform=${{ matrix.platform }}' `
'/p:Configuration=${{ matrix.configuration }}' `
'/p:RunCodeAnalysis=${{ matrix.run-code-analysis }}' `
${{ matrix.additional-build-args }} `
${{ matrix.enable-annotations && '"/logger:$Env:Temp\Reupen.MSBuild.GitHubLogger.dll"' }} `
vc18\columns_ui-public.sln
- uses: actions/upload-artifact@v7
if: matrix.publish-artefacts
with:
path: vc18\release-*\foo_ui_columns*.fb2k-component
archive: false
- uses: actions/upload-artifact@v7
if: matrix.publish-artefacts
with:
name: Symbols for debugging (${{ matrix.configuration }}, ${{ matrix.platform }})
path: vc18\release-*\foo_ui_columns.pdb