Skip to content

Commit 693abad

Browse files
committed
Fix Linux build in CI
1 parent a4f47ef commit 693abad

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
target: [x86_64, aarch64]
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v4
2323
with:
2424
python-version: "3.10"
@@ -35,7 +35,10 @@ jobs:
3535
args: --release --out dist --find-interpreter
3636
sccache: "true"
3737
manylinux: ${{ matrix.target == 'aarch64' && 'manylinux_2_28' || 'auto' }}
38-
before-script-linux: "pip install uniffi-bindgen==0.24.1"
38+
before-script-linux: |
39+
pip install uniffi-bindgen==0.24.1
40+
# https://github.com/sfackler/rust-openssl/issues/2036#issuecomment-1724324145
41+
apt update -y && apt-get install -y libssl-dev openssl pkg-config
3942
- name: Upload wheels
4043
uses: actions/upload-artifact@v3
4144
with:
@@ -48,7 +51,7 @@ jobs:
4851
matrix:
4952
target: [x64, x86]
5053
steps:
51-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5255
- uses: actions/setup-python@v4
5356
with:
5457
python-version: '3.10'
@@ -70,7 +73,7 @@ jobs:
7073
macos_x86:
7174
runs-on: macos-latest
7275
steps:
73-
- uses: actions/checkout@v3
76+
- uses: actions/checkout@v4
7477
- uses: actions/setup-python@v4
7578
with:
7679
python-version: '3.10'
@@ -91,7 +94,7 @@ jobs:
9194
macos_aarch64:
9295
runs-on: macos-latest-large
9396
steps:
94-
- uses: actions/checkout@v3
97+
- uses: actions/checkout@v4
9598
- uses: actions/setup-python@v4
9699
with:
97100
python-version: '3.10'
@@ -112,7 +115,7 @@ jobs:
112115
sdist:
113116
runs-on: ubuntu-latest
114117
steps:
115-
- uses: actions/checkout@v3
118+
- uses: actions/checkout@v4
116119
- name: Build sdist
117120
uses: PyO3/maturin-action@v1
118121
with:

0 commit comments

Comments
 (0)