Skip to content

Commit 325febf

Browse files
authored
github: remove dependency of python wheel's on dune (#6232)
Ubuntu's dune is way too old for the version generally used. On top of that the command doesn't fail when this happens, making the setup brittle. Instead write the version variable to config.mk and run make. You can see this change running as expected in this run: https://github.com/xapi-project/xen-api/actions/runs/12792091034/job/35661725368
2 parents 706b3b2 + de7e1eb commit 325febf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,11 @@ jobs:
2020
python-version: "3.x"
2121

2222
- name: Install build dependencies
23-
run: |
24-
pip install build
25-
sudo apt-get install ocaml ocaml-dune libfindlib-ocaml-dev libdune-ocaml-dev libcmdliner-ocaml-dev
23+
run: pip install build
2624

2725
- name: Generate python package for XenAPI
2826
run: |
29-
./configure --xapi_version=${{ github.ref_name }}
27+
echo "export XAPI_VERSION=${{ github.ref_name }}" > config.mk
3028
make python
3129
3230
- name: Store python distribution artifacts

0 commit comments

Comments
 (0)