mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Fix windows test command and install fat binaries for libomp
This commit is contained in:
parent
3b73bc8bce
commit
593a0c3f46
9
.github/workflows/python-package.yml
vendored
9
.github/workflows/python-package.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
#os: [ macos-latest, windows-latest, ubuntu-latest ]
|
#os: [ macos-latest, windows-latest, ubuntu-latest ]
|
||||||
os: [ macos-latest, windows-latest ]
|
os: [ macos-11, windows-latest ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -62,7 +62,12 @@ jobs:
|
|||||||
- name: Install libomp
|
- name: Install libomp
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
# openMP isnt part of core apple clang for some reason?
|
# openMP isnt part of core apple clang for some reason?
|
||||||
run: brew install libomp
|
# libomp is in homebrew, which works for end users but its not a fat binary
|
||||||
|
# so we have to install it manually
|
||||||
|
# compiled dylibs courtesy of https://mac.r-project.org/openmp/ and mirrored on my own server
|
||||||
|
run: |
|
||||||
|
wget https://pileof.rocks/openmp-13.0.0-darwin21-Release.tar.gz
|
||||||
|
sudo tar fvxz openmp-*.tar.gz -C /
|
||||||
|
|
||||||
- name: Install QEMU
|
- name: Install QEMU
|
||||||
# install QEMU if building for arm linux
|
# install QEMU if building for arm linux
|
||||||
|
@ -58,9 +58,12 @@ package-dir = { '' = '.' } # without this line, C++ source files get included in
|
|||||||
build = "cp{37,38,39,31*}-*"
|
build = "cp{37,38,39,31*}-*"
|
||||||
skip = ["*cp37-musllinux*", "*musllinux_aarch64*", "cp{38,39,31*}-macosx_x86_64"]
|
skip = ["*cp37-musllinux*", "*musllinux_aarch64*", "cp{38,39,31*}-macosx_x86_64"]
|
||||||
build-frontend = "build"
|
build-frontend = "build"
|
||||||
test-command = 'cd {project} && python -m unittest --verbose'
|
test-command = "cd {project} && python -m unittest --verbose"
|
||||||
test-extras = ["tests"]
|
test-extras = ["tests"]
|
||||||
manylinux-x86_64-image = "manylinux2014"
|
manylinux-x86_64-image = "manylinux2014"
|
||||||
manylinux-aarch64-image = "manylinux2014"
|
manylinux-aarch64-image = "manylinux2014"
|
||||||
|
|
||||||
|
[tool.cibuildwheel.windows]
|
||||||
|
test-command = "cd /d {project} && python -m unittest --verbose"
|
||||||
|
|
||||||
[tool.setuptools_scm]
|
[tool.setuptools_scm]
|
||||||
|
Loading…
Reference in New Issue
Block a user