Skip to content

Commit e24e2bb

Browse files
committed
Force use of libc++ for building
1 parent 9878a9e commit e24e2bb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/multiplatform_build.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
arch: "x64"
4141
env: true
4242

43+
- if: matrix.os == 'ubuntu-24.04'
44+
name: Install dependencies
45+
run: sudo apt-get install libtinfo5
46+
47+
- if: matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-24.04'
48+
name: Set CXXFLAGS
49+
run: export CXXFLAGS="-stdlib=libc++"
50+
4351
- name: Set up Python ${{ matrix.python-version }}
4452
uses: actions/[email protected]
4553
with:
@@ -53,7 +61,7 @@ jobs:
5361
run: poetry install --no-cache --sync
5462

5563
- name: Build distribution package
56-
run: poetry build
64+
run: poetry build --format wheel
5765

5866
- uses: actions/upload-artifact@v4
5967
with:

0 commit comments

Comments
 (0)