Skip to content

Commit

Permalink
ci: clean up, speed up, and prettify CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Oct 5, 2022
1 parent d9f9ca4 commit 7c3f085
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on: [push, pull_request]

jobs:
make_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -25,11 +27,15 @@ jobs:
os: [ubuntu-20.04, windows-2019, macos-11]

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.8.1

- uses: actions/upload-artifact@v3
- name: Upload
uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install
run: |
sudo apt-get install sox ninja-build
Expand All @@ -23,6 +25,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install
run: |
sudo apt-get install sox ninja-build
Expand All @@ -38,6 +42,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install
run: |
sudo apt-get install sox
Expand Down

0 comments on commit 7c3f085

Please sign in to comment.