-
Notifications
You must be signed in to change notification settings - Fork 17
149 lines (149 loc) · 4.05 KB
/
plugin.yaml
File metadata and controls
149 lines (149 loc) · 4.05 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-wheel_resolver:
name: Test wheel_resolver (${{ matrix.platform }}, Python ${{ matrix.python }})
uses: ./.github/workflows/plugin_test.yaml
with:
id: wheel_resolver
platform: ${{ matrix.platform }}
python: ${{ matrix.python }}
please_pex_from_repo: false
test_targets: //tools/wheel_resolver/...
strategy:
fail-fast: false
matrix:
platform:
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- linux_amd64
- linux_arm64
python:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
test-please_pex:
name: Test please_pex
uses: ./.github/workflows/plugin_test.yaml
with:
platform: ${{ matrix.platform }}
python: ${{ matrix.python }}
please_pex_from_repo: true
strategy:
fail-fast: false
matrix:
platform:
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- linux_amd64
- linux_arm64
python:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
test:
name: Test (${{ matrix.platform}}, Python ${{ matrix.python }}, stable please_pex release)
uses: ./.github/workflows/plugin_test.yaml
with:
platform: ${{ matrix.platform }}
python: ${{ matrix.python }}
please_pex_from_repo: false
strategy:
fail-fast: false
matrix:
platform:
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- linux_amd64
- linux_arm64
python:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
build-please_pex-artifacts:
name: Build please_pex release artifacts
if: github.ref == 'refs/heads/master'
needs:
- test-please_pex
uses: ./.github/workflows/please_pex_build.yaml
with:
platform: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform:
- darwin_amd64
- darwin_arm64
- freebsd_amd64
- linux_amd64
- linux_arm64
release-please_pex:
name: Release please_pex
if: github.ref == 'refs/heads/master'
needs:
- build-please_pex-artifacts
runs-on: ubuntu-latest
env:
BIN_DIR: /tmp/please_pex_release
steps:
- name: Download please_pex binaries from artifact storage
uses: actions/download-artifact@v6
with:
path: ${{ env.BIN_DIR }}
pattern: please_pex_*
merge-multiple: true
- name: Check out code
uses: actions/checkout@v6
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: thought-machine/release-action@master
with:
release-files: ${{ env.BIN_DIR }}
version-file: tools/please_pex/VERSION
change-log-file: tools/please_pex/ChangeLog
release-prefix: please_pex
release-wheel_resolver:
name: Release wheel_resolver
if: github.ref == 'refs/heads/master'
needs:
- test-wheel_resolver
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Build release files
run: ./pleasew build //package:wheel_resolver_release_files
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: thought-machine/release-action@master
with:
release-files: plz-out/package/wheel_resolver
version-file: tools/wheel_resolver/VERSION
change-log-file: tools/wheel_resolver/ChangeLog
release-prefix: wheel_resolver
release-plugin:
name: Release plugin
if: github.ref == 'refs/heads/master'
needs:
- test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Release plugin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: thought-machine/release-action@master