-
Notifications
You must be signed in to change notification settings - Fork 0
Add macOS-14 support and artifact upload to testsuite workflow #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@copilot Two tests fail in macos-14: eafdiff-ALG_1_dat_ALG_2_dat.test and spherical-3d-2000pts-10.test. Currently, the workflow does not upload the output of failed tests as artifacts. The output of failed tests is saved in the default tmpdir of the runner and have extension .out or .out.xz. Modify the workflow to do upload such files as artifacts if the workflow fails. |
Added workflow steps to collect and upload failed test outputs as artifacts when tests fail. The workflow now:
This will help debug the two failing tests (eafdiff-ALG_1_dat_ALG_2_dat.test and spherical-3d-2000pts-10.test) on macOS-14. Changes in commit d5e9571. |
bfb6119 to
1d7f3a9
Compare
|
@copilot The failed output of eafdiff-ALG_1_dat_ALG_2_dat.test says: ./eafdiff-ALG_1_dat_ALG_2_dat.test: line 3: xzcat: command not found The failed output of spherical-3d-2000pts-10.test says: ./spherical-3d-2000pts-10.test: line 1: xzcat: command not found So it seems there is a problem executing xzcat in macos-14. Investigate the problem and find a solution. |
The issue was in Fixed by merging the custom environment variables with Changes in commit 6264cab. |
908a48d to
e2acd64
Compare
14a99a2 to
173eff9
Compare
- Replace GNU-specific long options with portable short options - Update sort --ignore-leading-blanks to sort -b - Update sort --stable to sort -s - Update cat --squeeze-blank to cat -s - Add macOS-14 with clang to workflow matrix - Add brew install xz step for macOS runners Co-authored-by: MLopez-Ibanez <2620021+MLopez-Ibanez@users.noreply.github.com>
2d0fe88 to
9496c0e
Compare
f423763 to
c932ec7
Compare
Plan to add macOS support to the testsuite workflow
cat --squeeze-blank→cat -s(3 eaf tests)sort --ignore-leading-blanks→sort -b(9 nondominated tests)sort --stable→sort -s(1 nondominated test)Summary
Successfully added macOS-14 support to the testsuite workflow and enhanced debugging capabilities:
All changes maintain full backward compatibility with Linux/GNU environments while enabling tests to run on macOS with BSD-based tools.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.