Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: GBasis Build Wheels Prototype

on:
workflow_dispatch:

jobs:
build_wheels:
name: Build wheels on ubuntu-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_BUILD: cp311-manylinux_x86_64
CIBW_BUILD_VERBOSITY: 1
CIBW_BEFORE_ALL: >
yum install -y cmake git &&
git clone https://github.com/sunqm/libcint.git &&
cd libcint &&
mkdir build && cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
make && make install

- uses: actions/upload-artifact@v4
with:
name: gbasis-wheels
path: ./wheelhouse/*.whl