mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-18 02:55:12 +00:00
ci(FreeBSD): remove aarch64 (#5516)
This commit is contained in:
53
.github/workflows/ci-freebsd.yml
vendored
53
.github/workflows/ci-freebsd.yml
vendored
@ -20,58 +20,19 @@ env:
|
|||||||
FREEBSD_CLANG_VERSION: 19
|
FREEBSD_CLANG_VERSION: 19
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup-matrix:
|
|
||||||
name: Setup Build Matrix
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
outputs:
|
|
||||||
matrix: ${{ steps.generate-matrix.outputs.matrix }}
|
|
||||||
permissions: {}
|
|
||||||
steps:
|
|
||||||
- name: Generate Matrix
|
|
||||||
id: generate-matrix
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
# Base matrix with amd64 build
|
|
||||||
matrix='{
|
|
||||||
"include": [
|
|
||||||
{
|
|
||||||
"bsd_release": "15.1",
|
|
||||||
"arch": "x86_64",
|
|
||||||
"cmake_processor": "amd64",
|
|
||||||
"runner": "ubuntu-latest"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}'
|
|
||||||
|
|
||||||
# Add aarch64 build only if not a pull request event
|
|
||||||
if [[ "${{ github.event_name }}" != "pull_request" ]]; then
|
|
||||||
matrix=$(echo "$matrix" | jq '.include += [{
|
|
||||||
"bsd_release": "15.1",
|
|
||||||
"arch": "aarch64",
|
|
||||||
"cmake_processor": "aarch64",
|
|
||||||
"runner": "ubuntu-latest"
|
|
||||||
}]')
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Use heredoc for multiline JSON output
|
|
||||||
{
|
|
||||||
echo "matrix<<EOF"
|
|
||||||
echo "$matrix"
|
|
||||||
echo "EOF"
|
|
||||||
} >> "${GITHUB_OUTPUT}"
|
|
||||||
|
|
||||||
echo "Generated matrix:"
|
|
||||||
echo "$matrix" | jq .
|
|
||||||
|
|
||||||
build_freebsd:
|
build_freebsd:
|
||||||
name: ${{ matrix.cmake_processor }}
|
name: ${{ matrix.cmake_processor }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.runner }}
|
||||||
needs: setup-matrix
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
|
matrix:
|
||||||
|
include:
|
||||||
|
- bsd_release: '15.1'
|
||||||
|
arch: x86_64
|
||||||
|
cmake_processor: amd64
|
||||||
|
runner: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|||||||
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
@ -202,68 +202,41 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- name: FreeBSD-amd64
|
- name: FreeBSD-amd64
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: FreeBSD-aarch64
|
|
||||||
coverage: true
|
|
||||||
pr: false
|
|
||||||
- name: Linux-AppImage
|
- name: Linux-AppImage
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: Archlinux
|
- name: Archlinux
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: macOS-arm64
|
- name: macOS-arm64
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: macOS-x86_64
|
- name: macOS-x86_64
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: Homebrew-macos-14
|
- name: Homebrew-macos-14
|
||||||
coverage: true
|
coverage: true
|
||||||
coverage_file: coverage.lcov
|
coverage_file: coverage.lcov
|
||||||
pr: true
|
|
||||||
- name: Homebrew-macos-15
|
- name: Homebrew-macos-15
|
||||||
coverage: true
|
coverage: true
|
||||||
coverage_file: coverage.lcov
|
coverage_file: coverage.lcov
|
||||||
pr: true
|
|
||||||
- name: Homebrew-macos-26
|
- name: Homebrew-macos-26
|
||||||
coverage: true
|
coverage: true
|
||||||
coverage_file: coverage.lcov
|
coverage_file: coverage.lcov
|
||||||
pr: true
|
|
||||||
- name: Homebrew-ubuntu-24.04
|
- name: Homebrew-ubuntu-24.04
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: Windows-AMD64
|
- name: Windows-AMD64
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
- name: Windows-ARM64
|
- name: Windows-ARM64
|
||||||
coverage: true
|
coverage: true
|
||||||
pr: true
|
|
||||||
steps:
|
steps:
|
||||||
- name: Should run
|
|
||||||
id: should_run
|
|
||||||
run: |
|
|
||||||
should_run="false"
|
|
||||||
if [ "${GITHUB_EVENT_NAME}" != "pull_request" ] || [ ${{ matrix.pr }} == "true" ]; then
|
|
||||||
should_run="true"
|
|
||||||
fi
|
|
||||||
echo "SHOULD_RUN=${should_run}" >> "${GITHUB_OUTPUT}"
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: steps.should_run.outputs.SHOULD_RUN == 'true'
|
|
||||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
- name: Download coverage artifact
|
- name: Download coverage artifact
|
||||||
if: steps.should_run.outputs.SHOULD_RUN == 'true'
|
|
||||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
name: coverage-${{ matrix.name }}
|
name: coverage-${{ matrix.name }}
|
||||||
path: _coverage
|
path: _coverage
|
||||||
|
|
||||||
- name: Upload test coverage
|
- name: Upload test coverage
|
||||||
if: |
|
if: matrix.coverage != false
|
||||||
steps.should_run.outputs.SHOULD_RUN == 'true' &&
|
|
||||||
matrix.coverage != false
|
|
||||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
||||||
with:
|
with:
|
||||||
disable_search: true
|
disable_search: true
|
||||||
@ -275,7 +248,6 @@ jobs:
|
|||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: steps.should_run.outputs.SHOULD_RUN == 'true'
|
|
||||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
||||||
with:
|
with:
|
||||||
disable_search: true
|
disable_search: true
|
||||||
|
|||||||
Reference in New Issue
Block a user