Skip to content
Open
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
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,38 @@ jobs:
path: .build
- name: Run tests
run: make spm_test

spm_windows:
name: SPM, Windows ${{ matrix.windows-display-name }}, Swift ${{ matrix.swift-version }}
runs-on: windows-${{ matrix.windows-version }}
strategy:
fail-fast: false
matrix:
include:
- windows-version: 2025
arch: amd64
windows-display-name: 'Server 2025'
swift-version: 6.2.1
- windows-version: 11-arm
arch: arm64
windows-display-name: '11 ARM'
swift-version: 6.2.1
steps:
- uses: compnerd/gha-setup-swift@main
with:
swift-version: swift-${{ matrix.swift-version }}-release
swift-build: ${{ matrix.swift-version }}-RELEASE
build_arch: ${{ matrix.arch }}
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
key: windows-${{ matrix.windows-version }}-spm-${{ matrix.swift-version }}-${{ hashFiles('Package.resolved', 'Package.swift') }}
restore-keys: windows-${{ matrix.windows-version }}-spm-${{ matrix.swift-version }}-
path: .build
- name: Build all targets
run: swift build --build-tests --vv
- name: Run selected tests
run: swift test --vv --skip IntegrationTests --skip FileSystemAccessTests
# To be extended with test execution and linting ...
Loading