Skip to content

Commit

Permalink
arm tests17
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerstmayr committed Mar 3, 2024
1 parent 0ee139b commit 63da4ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
# - uses: actions/upload-artifact@v4
# with:
# name: uploaddata-wheels-${{ matrix.os }}-arm64-python-3${{ matrix.python-version }}
# path: main/wheelstore/*.whl
# path: wheelhouse/*.whl
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

buildWindowsMacOS:
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
run: python -m pip install cibuildwheel

- name: Build wheels
run: python -m cibuildwheel --output-dir main/wheelstore main #main is the project folder; works on all platforms
run: python -m cibuildwheel --output-dir wheelhouse main #main is the project folder; works on all platforms
env:
CIBW_BEFORE_BUILD_LINUX: "yum install -y epel-release && yum update -y && yum install -y glfw-devel libX11-devel"
CIBW_BUILD: "cp3${{ matrix.python-version }}-*"
Expand All @@ -141,16 +141,16 @@ jobs:
CIBW_TEST_COMMAND_LINUX: >
cd {project}/main/pythonDev/TestModels &&
python runTestSuite.py -quiet -local &&
cp testSuiteLog_V* {project}/main/wheelstore &&
cd {project}/main/wheelstore &&
for f in testSuiteLoc_V*.txt; do mv -- "$f" "${f%.txt}.whl"; done
cp testSuiteLog_V* {wheel} &&
cd {wheel} &&
for f in testSuiteLog_V*.txt; do mv -- "$f" "${f%.txt}.whl"; done
CIBW_TEST_COMMAND_MACOS: "cd {project}/main/pythonDev/TestModels && python runTestSuite.py -quiet -local"
CIBW_TEST_REQUIRES: matplotlib scipy

- uses: actions/upload-artifact@v4 #artifacts are stored locally!
with:
name: uploaddata-wheels-${{ matrix.os }}-python-3${{ matrix.python-version }}
path: main/wheelstore/*.whl
path: wheelhouse/*.whl

- name: Upload tests
uses: actions/upload-artifact@v4 #artifacts are stored locally!
Expand Down

0 comments on commit 63da4ec

Please sign in to comment.