Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0866567

Browse files
committed
CI: Switch SIMD tests to meson
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.
1 parent a277f62 commit 0866567

File tree

2 files changed

+149
-209
lines changed

2 files changed

+149
-209
lines changed

.github/meson_actions/action.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,34 @@ description: "checkout repo, build, and test numpy"
33
runs:
44
using: composite
55
steps:
6-
- name: Install dependencies
7-
shell: bash
8-
run: pip install -r build_requirements.txt
96
- name: Build
107
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
118
env:
129
TERM: xterm-256color
13-
run:
14-
spin build -- ${MESON_ARGS[@]}
10+
run: |
11+
echo "::group::Installing Build Dependencies"
12+
pip install -r build_requirements.txt
13+
echo "::endgroup::"
14+
echo "::group::Building NumPy"
15+
spin build --clean -- ${MESON_ARGS[@]}
16+
echo "::endgroup::"
17+
18+
- name: Meson Log
19+
shell: bash
20+
if: always()
21+
run: |
22+
echo "::group::Meson Log"
23+
cat build/meson-logs/meson-log.txt
24+
echo "::endgroup::"
25+
1526
- name: Test
1627
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
1728
env:
1829
TERM: xterm-256color
1930
run: |
31+
echo "::group::Installing Test Dependencies"
2032
pip install pytest pytest-xdist hypothesis typing_extensions
21-
spin test -j auto
33+
echo "::endgroup::"
34+
echo "::group::Test NumPy"
35+
spin test
36+
echo "::endgroup::"

0 commit comments

Comments
 (0)