forked from macvim-dev/macvim
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (51 loc) · 1.9 KB
/
ci-macvim.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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-13
xcode: '15.2'
testgui: true
extra: [vimtags, check-xcodeproj-compat]
# # Below runners use Apple Silicon.
# - os: macos-14
# xcode: '15.4'
# testgui: false
# Most up to date OS and Xcode. Used to publish release for the main build.
- os: macos-15
xcode: '16.2'
testgui: true
publish: true
optimized: true
uses: ./.github/workflows/macvim-buildtest.yaml
with:
skip: ${{ matrix.skip }}
os: ${{ matrix.os }}
legacy: ${{ matrix.legacy }}
xcode: ${{ matrix.xcode }}
publish: ${{ matrix.publish }}
publish_postfix: ${{ matrix.publish_postfix }}
optimized: ${{ matrix.optimized }}
vimtags: ${{ contains(matrix.extra, 'vimtags') }}
check-xcodeproj-compat: ${{ contains(matrix.extra, 'check-xcodeproj-compat') }}