From ccce295fee5060d1b54ee04f492090509c94cfc4 Mon Sep 17 00:00:00 2001 From: Vincent Palancher Date: Mon, 2 Dec 2024 10:59:45 +0100 Subject: [PATCH] Add basic workflow --- .github/workflows/build_wheel.yml | 24 ++++++++++++++++++++++++ .gitignore | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build_wheel.yml diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml new file mode 100644 index 0000000..0490ee0 --- /dev/null +++ b/.github/workflows/build_wheel.yml @@ -0,0 +1,24 @@ +name: Python package + +on: + push: + tags: + - qi-python-v* + +jobs: + build_wheel: + runs-on: + - ubuntu-latest + - macos-13 + - macos-latest + - windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python (3.12) + uses: actions/setup-python@v3 + with: + python-version: 3.12 + - name: Install dependencies + run: python -m pip install "cibuildwheel>=2" + - name: Run cibuildwheel + run: cibuildwheel --output-dir wheelhouse diff --git a/.gitignore b/.gitignore index 136d222..3177116 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ *.user .pytest_cache .cache -build* +build/* _skbuild dist *.egg-info