8000 CI: Switch SIMD tests to meson by seiko2plus · Pull Request #24625 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

CI: Switch SIMD tests to meson #24625

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

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions .github/meson_actions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,34 @@ description: "checkout repo, build, and test numpy"
runs:
using: composite
steps:
- name: Install dependencies
shell: bash
run: pip install -r build_requirements.txt
- name: Build
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
env:
TERM: xterm-256color
run:
spin build -- ${MESON_ARGS[@]}
run: |
echo "::group::Installing Build Dependencies"
pip install -r build_requirements.txt
echo "::endgroup::"
echo "::group::Building NumPy"
spin build --clean -- ${MESON_ARGS[@]}
echo "::endgroup::"

- name: Meson Log
shell: bash
if: always()
run: |
echo "::group::Meson Log"
cat build/meson-logs/meson-log.txt
echo "::endgroup::"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step being included with all the others results in log browsing being a bit slow, since it's >10,000 lines as a result of meson-log.txt being so large. It's hidden by default though, and I think this is fine as a price to pay for such a concise linux_simd.yml file. So I wanted to note this, but no change needed.


- name: Test
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
env:
TERM: xterm-256color
run: |
echo "::group::Installing Test Dependencies"
pip install pytest pytest-xdist hypothesis typing_extensions
spin test -j auto
echo "::endgroup::"
echo "::group::Test NumPy"
spin test
echo "::endgroup::"
Loading
0