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 package-only: true