mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
782279b1fc
macOS-13 is retired from GitHub hosted runners, so we need to remove it. With this change we also no longer have any x86 runners in the mix. While GitHub Actions provides a macos-15-intel runner, it will be deprecate in near future as well, so it's not really worth setting it up. If we care to test MacVim on x86 machines we may have to find alternative solutions, but for now it should be ok as we haven't seen any issues with universal builds for a long time.
55 lines
1.8 KiB
YAML
55 lines
1.8 KiB
YAML
name: MacVim GitHub CI
|
|
|
|
# Main CI workflow for MacVim. Will build and test MacVim on different platforms.
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
# Cancels all previous workflow runs for pull requests that have not completed.
|
|
concurrency:
|
|
# The concurrency group contains the workflow name and the branch name for
|
|
# pull requests or the commit hash for any other events.
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# Builds and test MacVim
|
|
build-and-test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
# Self-hosted runner with old enough software (Xcode 14.0.1) to be
|
|
# able to make legacy builds. We only run this when making a full
|
|
# release build.
|
|
- os: macos-13-xcode14-self-hosted
|
|
publish: true
|
|
publish_postfix: '_10.9'
|
|
skip: ${{ ! startswith(github.ref, 'refs/tags/release') }}
|
|
legacy: true
|
|
|
|
- os: macos-14
|
|
xcode: '15.4'
|
|
testgui: true
|
|
extra: [vimtags, check-xcodeproj-compat]
|
|
|
|
- os: macos-15
|
|
xcode: '16.4'
|
|
testgui: false
|
|
publish: true
|
|
optimized: true
|
|
|
|
uses: ./.github/workflows/macvim-buildtest.yaml
|
|
with:
|
|
skip: ${{ matrix.skip && true || false }}
|
|
os: ${{ matrix.os }}
|
|
legacy: ${{ matrix.legacy && true || false }}
|
|
xcode: ${{ matrix.xcode }}
|
|
testgui: ${{ matrix.testgui && true || false }}
|
|
publish: ${{ matrix.publish && true || false }}
|
|
publish_postfix: ${{ matrix.publish_postfix }}
|
|
optimized: ${{ matrix.optimized && true || false }}
|
|
vimtags: ${{ contains(matrix.extra, 'vimtags') }}
|
|
check-xcodeproj-compat: ${{ contains(matrix.extra, 'check-xcodeproj-compat') }}
|