| 1 |
# |
| 2 |
# DO NOT EDIT THIS FILE |
| 3 |
# |
| 4 |
# It is automatically copied from https://github.com/pion/.goassets repository. |
| 5 |
# If this repository should have package specific CI config, |
| 6 |
# remove the repository name from .goassets/.github/workflows/assets-sync.yml. |
| 7 |
# |
| 8 |
# If you want to update the shared CI config, send a PR to |
| 9 |
# https://github.com/pion/.goassets instead of this repository. |
| 10 |
# |
| 11 |
# SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly> |
| 12 |
# SPDX-License-Identifier: MIT |
| 13 |
|
| 14 |
name: Test |
| 15 |
on: |
| 16 |
push: |
| 17 |
branches: |
| 18 |
- main |
| 19 |
pull_request: |
| 20 |
|
| 21 |
jobs: |
| 22 |
test: |
| 23 |
uses: pion/.goassets/.github/workflows/test.reusable.yml@main |
| 24 |
strategy: |
| 25 |
matrix: |
| 26 |
go: ["1.25", "1.24"] # auto-update/supported-go-version-list |
| 27 |
fail-fast: false |
| 28 |
with: |
| 29 |
go-version: ${{ matrix.go }} |
| 30 |
secrets: inherit |
| 31 |
|
| 32 |
test-i386: |
| 33 |
uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@main |
| 34 |
strategy: |
| 35 |
matrix: |
| 36 |
go: ["1.25", "1.24"] # auto-update/supported-go-version-list |
| 37 |
fail-fast: false |
| 38 |
with: |
| 39 |
go-version: ${{ matrix.go }} |
| 40 |
|
| 41 |
test-windows: |
| 42 |
uses: pion/.goassets/.github/workflows/test-windows.reusable.yml@main |
| 43 |
strategy: |
| 44 |
matrix: |
| 45 |
go: ["1.25", "1.24"] # auto-update/supported-go-version-list |
| 46 |
fail-fast: false |
| 47 |
with: |
| 48 |
go-version: ${{ matrix.go }} |
| 49 |
|
| 50 |
test-macos: |
| 51 |
uses: pion/.goassets/.github/workflows/test-macos.reusable.yml@main |
| 52 |
strategy: |
| 53 |
matrix: |
| 54 |
go: ["1.25", "1.24"] # auto-update/supported-go-version-list |
| 55 |
fail-fast: false |
| 56 |
with: |
| 57 |
go-version: ${{ matrix.go }} |
| 58 |
|
| 59 |
test-wasm: |
| 60 |
uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@main |
| 61 |
with: |
| 62 |
go-version: "1.25" # auto-update/latest-go-version |
| 63 |
secrets: inherit |