Skip to content

Commit

Permalink
closing trials to export test suite results for ubuntu aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerstmayr committed Mar 4, 2024
1 parent e993699 commit 8e36086
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy GitHub Pages V2
on:
# Runs on pushes targeting the default branch
push:
branches: ["master13"] #["master"] #change this name to disable
branches: ["master"] #["master"] #change this name to disable

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
23 changes: 7 additions & 16 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['10']
# python-version: ['8','9','10','11','12']
# python-version: ['10']
python-version: ['8','9','10','11','12']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -99,10 +99,10 @@ jobs:
continue-on-error: true #will continue, such that other wheels are built
strategy:
matrix:
os: [ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
# os: [windows-latest, macos-latest, ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
python-version: ['10']
# python-version: ['8', '9', '10', '11', '12']
# os: [ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
os: [windows-latest, macos-latest, ubuntu-latest] #ubuntu with aarch64 seems to need emulation: see QEMU / setup-qemu-action
# python-version: ['10']
python-version: ['8', '9', '10', '11', '12']
exclude:
- os: macos-latest
python-version: "8" #this version fails during testing / installation of exudyn universal2 wheel
Expand Down Expand Up @@ -139,16 +139,7 @@ jobs:
#{project} folder is in Exudyn root, not in main!
CIBW_TEST_COMMAND_WINDOWS: "cd /d {project}/main/pythonDev/TestModels && python runTestSuite.py -quiet -local"
# perform a test and rename it into a wheel to be copied by cibuild ...
CIBW_TEST_COMMAND_LINUX: >
ls -la /tmp/cibuildwheel/
ls -la /tmp/cibuildwheel/repaired_wheel/
cd /tmp/cibuildwheel/repaired_wheel/
cd {project}/main/pythonDev/TestModels &&
python runTestSuite.py -quiet -local &&
DIR="$(dirname {wheel})" &&
cp testSuiteLog_V* $DIR/
cd $DIR &&
for f in testSuiteLog_V*.txt; do mv -- "$f" "${f%.txt}.whl"; done
CIBW_TEST_COMMAND_LINUX: "cd {project}/main/pythonDev/TestModels && python runTestSuite.py -quiet -local"
CIBW_TEST_COMMAND_MACOS: "cd {project}/main/pythonDev/TestModels && python runTestSuite.py -quiet -local"
CIBW_TEST_REQUIRES: matplotlib scipy

Expand Down

0 comments on commit 8e36086

Please sign in to comment.