Debian Codegraph @

.github/meson_actions/action.yml

raw
1 name: MesonBuildTest
2 description: "checkout repo, build, and test numpy"
3 runs:
4 using: composite
5 steps:
6 - name: Build
7 shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
8 env:
9 TERM: xterm-256color
10 PKG_CONFIG_PATH: ./.openblas
11 run: |
12 echo "::group::Installing Build Dependencies"
13 pip install -r requirements/build_requirements.txt
14 echo "::endgroup::"
15 echo "::group::Building NumPy"
16 spin build --clean -- ${MESON_ARGS[@]}
17 echo "::endgroup::"
18
19 - name: Meson Log
20 shell: bash
21 if: always()
22 run: |
23 echo "::group::Meson Log"
24 cat build/meson-logs/meson-log.txt
25 echo "::endgroup::"
26
27 - name: Test
28 shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
29 env:
30 TERM: xterm-256color
31 run: |
32 echo "::group::Installing Test Dependencies"
33 python -m pip install -r requirements/test_requirements.txt
34 echo "::endgroup::"
35 echo "::group::Test NumPy"
36 spin test -- --durations=10 --timeout=600
37 echo "::endgroup::"