[Backport 7.x] Build dists in Docker during make.sh assemble
Co-authored-by: Seth Michael Larson <[email protected]>
This commit is contained in:
co-authored by
Seth Michael Larson
parent
a313b8773a
commit
45a430e7c9
@@ -4,26 +4,6 @@ name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
package:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v1
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3.7 -m pip install setuptools wheel twine
|
||||
- name: Build packages
|
||||
run: |
|
||||
python3.7 utils/build-dists.py
|
||||
- name: Check packages
|
||||
run: |
|
||||
set -exo pipefail;
|
||||
if [ $(python3.7 -m twine check dist/* | grep -c 'warning') != 0 ]; then exit 1; fi
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
name: Unified Release
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- '[0-9]+.[0-9]+'
|
||||
- '[0-9]+.x'
|
||||
|
||||
jobs:
|
||||
assemble:
|
||||
name: Assemble
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
stack_version: ['7.x-SNAPSHOT']
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- run: "./.ci/make.sh assemble ${{ matrix.stack_version }}"
|
||||
name: Assemble ${{ matrix.stack_version }}
|
||||
Reference in New Issue
Block a user