-
Notifications
You must be signed in to change notification settings - Fork 10
149 lines (149 loc) · 4.03 KB
/
plugin.yaml
File metadata and controls
149 lines (149 loc) · 4.03 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
name: Plugin
on:
- push
- pull_request
jobs:
test-cc-ubuntu-22-04:
name: ${{ matrix.name }}
uses: ./.github/workflows/plugin_test_cc.yaml
with:
runner: ubuntu-22.04
apt_packages: ${{ matrix.packages }}
plz_profile: ubuntu_${{ matrix.profile }}
strategy:
fail-fast: false
matrix:
include:
- name: Clang 11
packages: clang-11
profile: clang-11
- name: Clang 12
packages: clang-12
profile: clang-12
- name: Clang 13
packages: clang-13
profile: clang-13
test-cc-ubuntu-24-04:
name: ${{ matrix.name }}
uses: ./.github/workflows/plugin_test_cc.yaml
with:
runner: ubuntu-24.04
apt_packages: ${{ matrix.packages }}
plz_profile: ubuntu_${{ matrix.profile }}
strategy:
fail-fast: false
matrix:
include:
- name: Clang 14
packages: clang-14
profile: clang-14
- name: Clang 15
packages: clang-15
profile: clang-15
- name: Clang 16
packages: clang-16
profile: clang-16
- name: Clang 17
packages: clang-17
profile: clang-17
- name: Clang 18
packages: clang-18
profile: clang-18
- name: GCC 9
packages: gcc-9 g++-9
profile: gcc-9
- name: GCC 10
packages: gcc-10 g++-10
profile: gcc-10
- name: GCC 11
packages: gcc-11 g++-11
profile: gcc-11
- name: GCC 12
packages: gcc-12 g++-12
profile: gcc-12
- name: GCC 13
packages: gcc-13 g++-13
profile: gcc-13
- name: GCC 14
packages: gcc-14 g++-14
profile: gcc-14
test-cc-xcode-macos-14:
name: Xcode ${{ matrix.version }}
uses: ./.github/workflows/plugin_test_cc.yaml
with:
runner: macos-14
plz_profile: xcode-${{ matrix.version }}
strategy:
fail-fast: false
matrix:
version:
- '15.0.1'
- '15.1'
- '15.2'
- '15.3'
- '15.4'
test-cc-xcode-macos-15:
name: Xcode ${{ matrix.version }}
uses: ./.github/workflows/plugin_test_cc.yaml
with:
runner: macos-15
plz_profile: xcode-${{ matrix.version }}
strategy:
fail-fast: false
matrix:
version:
- '16.0'
- '16.1'
- '16.2'
- '16.3'
- '16.4'
- '26.0'
test-go:
name: Run Go tests
runs-on: ubuntu-latest
steps:
- name: Check out plugin code
uses: actions/checkout@v5
- name: Run Go tests
run: ./pleasew test -i test,go --keep_going --log_file plz-out/log/test.log
- name: Archive logs
uses: actions/upload-artifact@v4
with:
name: logs-go
path: plz-out/log
release-tools:
name: Release please_cc
needs:
- test-go
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Build please_cc
run: ./pleasew build //package:please_cc_release_files
- name: Release please_cc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: thought-machine/release-action@master
with:
version-file: tools/please_cc/VERSION
change-log-file: tools/please_cc/ChangeLog
release-prefix: please_cc
release-files: plz-out/package/please_cc
release-plugin:
name: Release plugin
needs:
- test-cc-ubuntu-22-04
- test-cc-ubuntu-24-04
- test-cc-xcode-macos-14
- test-cc-xcode-macos-15
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Release plugin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: thought-machine/release-action@master