forked from Chia-Network/chia-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (67 loc) · 2.04 KB
/
check_wheel_availability.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: 🚨 Check Dependency Artifacts
on:
push:
branches:
- 'long_lived/**'
- main
- 'release/**'
release:
types: [published]
pull_request:
branches:
- '**'
concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true
jobs:
check_dependency_artifacts:
name: ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}
strategy:
fail-fast: false
matrix:
os:
- name: Linux
matrix: linux
runs-on:
intel: ubuntu-latest
arm: [linux, arm64]
- name: macOS
matrix: macos
runs-on:
intel: macos-10.14
arm: [macos, arm64]
- name: Windows
matrix: windows
runs-on:
intel: windows-latest
arch:
- name: ARM64
matrix: arm
- name: Intel
matrix: intel
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
exclude:
- os:
matrix: macos
python-version: '3.7'
- os:
matrix: macos
arch:
matrix: arm
python-version: '3.8'
- os:
matrix: windows
arch:
matrix: arm
steps:
- uses: Chia-Network/actions/clean-workspace@main
- name: Checkout Code
uses: actions/checkout@v4
- uses: Chia-Network/actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
force-pyenv: ${{ matrix.os.matrix == 'macos' && matrix.arch.matrix == 'intel' }}
- name: Check Wheel Availability
run: python build_scripts/check_dependency_artifacts.py