Skip to content

Commit

Permalink
fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zommiommy committed Jun 14, 2024
1 parent fc84501 commit c3b071f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:

Expand All @@ -16,6 +18,7 @@ jobs:
# platforms, otherwise we want to break early
canary_build:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
container:
image: quay.io/pypa/musllinux_1_1_x86_64
env:
Expand All @@ -25,6 +28,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install Openssl
run: apk add openssl-dev
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- uses: korandoru/setup-zig@v1
with:
zig-version: 0.13.0
Expand All @@ -33,10 +40,6 @@ jobs:
toolchain: nightly-2024-06-13
components: rustfmt
cache-workspaces: bindings/python/
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install Maturin
run: python3 -m pip install 'maturin[zig]'
# Check
Expand Down

0 comments on commit c3b071f

Please sign in to comment.