Skip to content

Commit

Permalink
chatgpt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieqiong committed Sep 6, 2024
1 parent 09cc352 commit 386537f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ jobs:
python: ["cp310"] # , "cp311", "cp312"

steps:
- name: check out diffpy.pdffit2
- name: Check out diffpy.pdffit2
uses: actions/checkout@v4

- name: Setup Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libgsl-dev
echo "CFLAGS=-I/usr/include" >> $GITHUB_ENV
echo "CXXFLAGS=-I/usr/include" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH" >> $GITHUB_ENV
# - name: Setup macOS
# if: runner.os == 'macOS'
Expand All @@ -44,6 +47,10 @@ jobs:
- name: Build wheels
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
CIBW_ENVIRONMENT: >-
CFLAGS="-I/usr/include"
CXXFLAGS="-I/usr/include"
LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 386537f

Please sign in to comment.