From aebf22509d656fadb0d237016e1dcfa9bfa2f459 Mon Sep 17 00:00:00 2001 From: laurent Date: Fri, 27 Sep 2024 14:37:07 +0200 Subject: [PATCH 1/3] Tweak the CI for libpython. --- .github/workflows/rust-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 43448c9..cbac38c 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -50,4 +50,5 @@ jobs: - name: test shell: bash run: | + sudo apt-get install libpython3-dev cargo test From df2d6b9beb7ccc9ca44e2309d5a7a81e79638948 Mon Sep 17 00:00:00 2001 From: laurent Date: Fri, 27 Sep 2024 14:40:58 +0200 Subject: [PATCH 2/3] Another attempt. --- .github/workflows/rust-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index cbac38c..17ccea5 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -50,5 +50,5 @@ jobs: - name: test shell: bash run: | - sudo apt-get install libpython3-dev + sudo apt-get install libpython3.10-dev cargo test From 00f3a3f48acc0cfa50725deaaa371bb5c76f074a Mon Sep 17 00:00:00 2001 From: laurent Date: Fri, 27 Sep 2024 14:46:36 +0200 Subject: [PATCH 3/3] Again... --- .github/workflows/rust-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 17ccea5..6560576 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -44,11 +44,13 @@ jobs: rust: [stable] steps: - uses: actions/checkout@v2 + - uses: actions/setup-python@v5 + with: + python-version: 3.11 - uses: ./.github/actions/rust_build with: target: test - name: test shell: bash run: | - sudo apt-get install libpython3.10-dev cargo test