Skip to content

Commit

Permalink
build in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshix-1 committed Oct 16, 2024
1 parent 929d974 commit c1e6e35
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,34 @@ jobs:
- name: Update rust
shell: bash
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: install build
run: python3 -m pip install build
- name: Build python
run: python3 -m build
- name: install
run: python3 -m pip install .
- name: import
run: |
set -xeu
if python3 -c 'import sys, hangman_solver as hs; print(*hs.solve("_____", ["a"], hs.Language.De, 999999).words, sep="\n")' | grep a ; then
echo "Failure"
exit 1
else
echo "Nothing found!"
fi
build_manylinux_wheels:
name: Build manylinux wheels
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1
with:
command: build
args: --release
manylinux: "2014"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

improve_code:
name: Improve and format the code
Expand Down

0 comments on commit c1e6e35

Please sign in to comment.