Skip to content

Commit

Permalink
CI: Switch SIMD tests to meson (numpy#24625)
Browse files Browse the repository at this point in the history
The SIMD tests have been transitioned to utilize the Meson build system.
The Intel SDE tests are now consolidated into a single action.
Additionally, the Arm7 test has been removed as it is already
covered by Linux QEMU tests for armhf.
  • Loading branch information
seiko2plus authored Sep 7, 2023
1 parent 54238c7 commit 388778c
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 209 deletions.
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::"
- 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 comments on commit 388778c

Please sign in to comment.