Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,11 @@ jobs:

$DownloadFolder = ./example/Scripts/installFASTBuild.ps1
echo $DownloadFolder >> $env:GITHUB_PATH
- name: CMake Configure ${{ matrix.buildPreset }}
- name: Build - ${{ matrix.buildPreset }}, ${{ matrix.configuration }}
shell: pwsh
run: |
Set-Location ./example
cmake --preset ${{ matrix.buildPreset }}
- name: CMake Build ${{ matrix.buildPreset }}
shell: pwsh
run: |
Set-Location ./example
cmake --build --preset ${{ matrix.buildPreset }} --config ${{ matrix.configuration }}
./build.ps1 -Preset ${{ matrix.buildPreset }} -Configuration ${{ matrix.configuration }}
- name: Upload output artifact
uses: actions/upload-artifact@v6
if: ${{ always() }}
Expand Down
16 changes: 8 additions & 8 deletions example/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@

[CmdletBinding()]
param (
[ValidateSet('windows-clang-x64', 'windows-msvc-arm64', 'windows-msvc-x64', 'windows-msvc-x86')]
$Presets = @('windows-clang-x64', 'windows-msvc-arm64', 'windows-msvc-x64', 'windows-msvc-x86')
[ValidateSet('windows-ninja-msvc-x64', 'windows-ninja-msvc-x64-spectre', 'windows-ninja-msvc-x86',
'windows-ninja-msvc-arm64', 'windows-ninja-msvc-host', 'windows-ninja-clang-x64',
'windows-ninja-clangcl-x64', 'windows-fastbuild-msvc-x64', 'windows-vs2022-x64',
'windows-vs2022-arm64')]
$Presets = @('windows-ninja-msvc-host'),

[ValidateSet('Debug', 'Release', 'RelWithDebInfo')]
$Configurations = @('Debug')
)

Set-StrictMode -Version Latest
Expand All @@ -33,12 +39,6 @@ if (-not $CMake) {
}
}

$Configurations = @(
'Debug'
'Release'
'RelWithDebInfo'
)

foreach ($Preset in $Presets) {
& $CMake --preset $Preset

Expand Down