-
Notifications
You must be signed in to change notification settings - Fork 7
48 lines (41 loc) · 1.25 KB
/
build_wheels_testing.yml
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
name: Test Build wheels
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
generate_backwards_compatability_data:
name: Generate Backwards Compatibility Data
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Determine Release Tag
id: get_release_tag
run: |
echo "git status" && git status
echo "git branch" && git branch
echo "git fetch origin" && git fetch origin
echo "git checkout main" && git checkout main
echo "git status" && git status
echo "git branch" && git branch
release_tag=$(git describe --tags --abbrev=0)
echo "::set-output name=release_tag::$release_tag"
- name: Build Indexes
run: backwards-compatibility-data/generate_data.py ${{ steps.get_release_tag.outputs.release_tag }}
- name: Commit and Push to Main Branch
run: |
git status
git branch
build_wheels:
name: Build wheels on ${{ matrix.os }}
needs: generate_backwards_compatability_data
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- name: Running!
run: |
Running build_wheels