Skip to content
Closed
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
1 change: 1 addition & 0 deletions .github/.ci.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PRE_TEST_HOOK=_install_dependencies_hook
PRE_LINT_HOOK=_install_dependencies_hook
GO_MOD_VERSION_EXPECTED=1.24
SKIP_i386_TESTS=true
SKIP_WINDOWS_TESTS=true
SKIP_API_DIFF=true

function _install_gstreamer_hook(){
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/test-windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT

name: Test Windows

on:
pull_request:

permissions:
contents: read

jobs:
test-windows:
runs-on: windows-latest
name: Go Windows 1.24
steps:
- uses: actions/checkout@v5

- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache
key: ${{ runner.os }}-windows-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-windows-go-

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.x'

- name: Run tests
shell: bash
run: |
if [ -f .github/.ci.conf ]; then . .github/.ci.conf; fi
if [ -n "${SKIP_WINDOWS_TESTS}" ]; then exit 0; fi

go test ./...
Loading