Skip to content

Commit f3e4c71

Browse files
committed
go
1 parent d59896d commit f3e4c71

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

.github/workflows/maturin_builds.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,36 @@ jobs:
1010
target: [x86_64-unknown-linux-gnu, i686-unknown-linux-gnu]
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-python@v4
14-
with:
15-
python-version: "3.9"
16-
architecture: x64
17-
- uses: actions-rs/toolchain@v1
13+
14+
- name: Set up Rust
15+
uses: actions-rs/toolchain@v1
1816
with:
1917
profile: minimal
2018
toolchain: stable
19+
override: true
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.x'
25+
cache: 'pip'
26+
27+
- name: Set up Perl
28+
uses: shogo82148/actions-setup-perl@v1
29+
with:
30+
perl-version: '5.x'
31+
distribution: 'default'
32+
2133
- name: Install system dependencies
2234
run: |
2335
sudo apt-get update && sudo apt-get install -y \
2436
libclang-dev \
25-
liblzma-dev \
26-
cpanminus
27-
cpanm -l ~/perl5 IPC::Cmd YAML
37+
liblzma-dev
2838
awk '/dependencies = \[/,/\]/' pyproject.toml | \
2939
grep -v "dependencies" | \
3040
grep -v "\[" | grep -v "\]" | tr -d '", ' | \
3141
xargs pip install
42+
3243
- name: Build wheels
3344
uses: PyO3/maturin-action@v1
3445
with:

0 commit comments

Comments
 (0)