d71b0ec5ff
Quick CI / quick-test (push) Failing after 1m16s
Multi-Platform CI / test-platforms (ubuntu-22.04) (push) Failing after 1m23s
Multi-Platform CI / test-platforms (windows-latest) (push) Failing after 1m21s
Multi-Platform CI / package (ubuntu-22.04) (push) Has been skipped
Multi-Platform CI / package (windows-latest) (push) Has been skipped
39 lines
831 B
YAML
39 lines
831 B
YAML
name: Multi-Platform CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
# Test on platforms with native builds only
|
|
test-platforms:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
# Linux native
|
|
- os: ubuntu-22.04
|
|
|
|
# Windows native
|
|
- os: windows-latest
|
|
|
|
uses: ./.gitea/workflows/ci-reusable.yml
|
|
with:
|
|
os: ${{ matrix.os }}
|
|
upload-artifacts: false
|
|
|
|
# Package for distribution (only on master)
|
|
package:
|
|
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main')
|
|
needs: [test-platforms]
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- os: ubuntu-22.04
|
|
- os: windows-latest
|
|
|
|
uses: ./.gitea/workflows/ci-reusable.yml
|
|
with:
|
|
os: ${{ matrix.os }}
|
|
upload-artifacts: true
|