GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: Transition x86 specialized tests to Meson from Distutils · numpy/numpy@02e757a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • meson_actions
      • actions.yml
    • workflows
      • build_test.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/meson_actions/actions.yml‎

Copy file name to clipboard
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: MesonBuildTest
2+
description: "checkout repo, build, and test numpy"
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Install dependencies
7+
run: pip install -r build_requirements.txt
8+
- name: Build
9+
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
10+
env:
11+
TERM: xterm-256color
12+
run:
13+
spin build -- ${MESON_ARGS[@]}
14+
- name: Check build-internal dependencies
15+
run:
16+
ninja -C build -t missingdeps
17+
- name: Check installed test and stub files
18+
run:
19+
python tools/check_installed_files.py $(find ./build-install -path '*/site-packages/numpy')
20+
- name: Test
21+
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
22+
env:
23+
TERM: xterm-256color
24+
run: |
25+
pip install pytest pytest-xdist hypothesis typing_extensions
26+
spin test -j auto
Collapse file

‎.github/workflows/build_test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/build_test.yml
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: "github.repository == 'numpy/numpy'"
5050
runs-on: ubuntu-latest
5151
env:
52-
WITHOUT_SIMD: 1
52+
MESON_ARGS: "-Dcpu-baseline=none -Dcpu-dispatch=none"
5353
steps:
5454
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
5555
with:
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
5959
with:
6060
python-version: ${{ env.PYTHON_VERSION }}
61-
- uses: ./.github/actions
61+
- uses: ./.github/meson_actions
6262

6363
basic:
6464
needs: [smoke_test]
@@ -122,7 +122,7 @@ jobs:
122122
runs-on: ubuntu-latest
123123
if: github.event_name != 'push'
124124
env:
125-
WITHOUT_OPTIMIZATIONS: 1
125+
MESON_ARGS: "-Ddisable-optimization"
126126
steps:
127127
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
128128
with:
@@ -131,14 +131,14 @@ jobs:
131131
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
132132
with:
133133
python-version: ${{ env.PYTHON_VERSION }}
134-
- uses: ./.github/actions
134+
- uses: ./.github/meson_actions
135135

136136
with_baseline_only:
137137
needs: [smoke_test]
138138
runs-on: ubuntu-latest
139139
if: github.event_name != 'push'
140140
env:
141-
CPU_DISPATCH: "none"
141+
MESON_ARGS: "-Dcpu-dispatch=none"
142142
steps:
143143
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
144144
with:
@@ -147,14 +147,14 @@ jobs:
147147
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
148148
with:
149149
python-version: ${{ env.PYTHON_VERSION }}
150-
- uses: ./.github/actions
150+
- uses: ./.github/meson_actions
151151

152152
without_avx512:
153153
needs: [smoke_test]
154154
runs-on: ubuntu-latest
155155
if: github.event_name != 'push'
156156
env:
157-
CPU_DISPATCH: "max -xop -fma4 -avx512f -avx512cd -avx512_knl -avx512_knm -avx512_skx -avx512_clx -avx512_cnl -avx512_icl"
157+
MESON_ARGS: "-Dcpu-dispatch='SSSE3 SSE41 POPCNT SSE42 AVX F16C AVX2 FMA3'"
158158
steps:
159159
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
160160
with:
@@ -163,14 +163,14 @@ jobs:
163163
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
164164
with:
165165
python-version: ${{ env.PYTHON_VERSION }}
166-
- uses: ./.github/actions
166+
- uses: ./.github/meson_actions
167167

168168
without_avx512_avx2_fma3:
169169
needs: [smoke_test]
170170
runs-on: ubuntu-latest
171171
if: github.event_name != 'push'
172172
env:
173-
CPU_DISPATCH: "SSSE3 SSE41 POPCNT SSE42 AVX F16C"
173+
MESON_ARGS: "-Dcpu-dispatch='SSSE3 SSE41 POPCNT SSE42 AVX F16C'"
174174
steps:
175175
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
176176
with:
@@ -179,7 +179,7 @@ jobs:
179179
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
180180
with:
181181
python-version: ${{ env.PYTHON_VERSION }}
182-
- uses: ./.github/actions
182+
- uses: ./.github/meson_actions
183183

184184
debug_and_cython3:
185185
needs: [smoke_test]

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.