Skip to content

Commit

Permalink
CI: add build_sdist job
Browse files Browse the repository at this point in the history
  • Loading branch information
tfuxu committed Aug 30, 2023
1 parent a85b127 commit 4413af0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ indent_size = 4

[*.yml]
indent_style = space
indent_size = 4
indent_size = 2

[*.sh]
indent_style = space
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ on:
workflow_call:

jobs:
build_sdist:
name: Source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

build_macos:
#if: false
name: MacOS ${{ matrix.arch_cibw_go[0] }}
Expand Down Expand Up @@ -222,6 +235,7 @@ jobs:

all_builds_passed:
needs:
- build_sdist
- build_macos
- build_linux_x86_64
- build_linux_arm64
Expand Down

0 comments on commit 4413af0

Please sign in to comment.