-
Notifications
You must be signed in to change notification settings - Fork 7
27 lines (25 loc) · 851 Bytes
/
Copy pathmain.yaml
File metadata and controls
27 lines (25 loc) · 851 Bytes
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
name: build manylinux
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Initialize submodule
run: git submodule update --init --recursive
- name: Build in manylinux container
run: docker run --rm -v `pwd`:/repo --rm safijari/manylinux_2_28-x64 /repo/build.sh manylinux_2_28_x86_64
- name: Tar up artifacts
run: tar -czf dist1.tar.gz dist/
- name: Build in manylinux container legacy
run: docker run --rm -v `pwd`:/repo --rm safijari/manylinux2014-x64 /repo/build.sh manylinux2014_x86_64
- name: Tar up artifacts
run: tar -czf dist2.tar.gz dist/
- uses: actions/upload-artifact@main
with:
name: dist1
path: dist1.tar.gz
- uses: actions/upload-artifact@main
with:
name: dist2
path: dist2.tar.gz