Mercurial > vim
comparison .github/workflows/ci.yml @ 34259:70c1a9c6f41d v9.1.0070
patch 9.1.0070: CI: testsuite not run on M1 Mac
Commit: https://github.com/vim/vim/commit/e93d5cadec6323d6be90f1ec29066441ffbc9477
Author: rhysd <lin90162@yahoo.co.jp>
Date: Thu Feb 1 21:22:14 2024 +0100
patch 9.1.0070: CI: testsuite not run on M1 Mac
Problem: CI: testsuite not run on M1 Mac
Solution: Make it run on gh runners for M1, disable failing tests for
now, until we figure the problem with the failings tests out
(rhysd)
closes: #13943
Signed-off-by: rhysd <lin90162@yahoo.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 01 Feb 2024 21:30:03 +0100 |
parents | 752da4c70ab4 |
children | 517c5f0b9202 |
comparison
equal
deleted
inserted
replaced
34258:1ee0053193b6 | 34259:70c1a9c6f41d |
---|---|
297 asan_symbolize -l "$f" | 297 asan_symbolize -l "$f" |
298 false # in order to fail a job | 298 false # in order to fail a job |
299 done | 299 done |
300 | 300 |
301 macos: | 301 macos: |
302 runs-on: macos-latest | 302 runs-on: ${{ matrix.runner }} |
303 | 303 |
304 env: | 304 env: |
305 CC: clang | 305 CC: clang |
306 TEST: test | 306 TEST: test |
307 SRCDIR: ./src | 307 SRCDIR: ./src |
310 | 310 |
311 strategy: | 311 strategy: |
312 fail-fast: false | 312 fail-fast: false |
313 matrix: | 313 matrix: |
314 features: [tiny, normal, huge] | 314 features: [tiny, normal, huge] |
315 runner: [macos-latest, macos-14] | |
315 | 316 |
316 steps: | 317 steps: |
317 - name: Checkout repository from github | 318 - name: Checkout repository from github |
318 uses: actions/checkout@v4 | 319 uses: actions/checkout@v4 |
319 | 320 |
320 - name: Install packages | 321 - name: Install packages on Intel Mac |
321 if: matrix.features == 'huge' | 322 if: matrix.features == 'huge' && matrix.runner == 'macos-latest' |
322 run: | | 323 run: | |
323 brew install lua | 324 brew install lua |
324 echo "LUA_PREFIX=/usr/local" >> $GITHUB_ENV | 325 echo "LUA_PREFIX=/usr/local" >> $GITHUB_ENV |
326 | |
327 - name: Install packages on M1 Mac | |
328 if: matrix.features == 'huge' && matrix.runner == 'macos-14' | |
329 run: | | |
330 brew install lua libtool | |
331 echo "LUA_PREFIX=/opt/homebrew" >> $GITHUB_ENV | |
325 | 332 |
326 - name: Set up environment | 333 - name: Set up environment |
327 run: | | 334 run: | |
328 ( | 335 ( |
329 echo "NPROC=$(getconf _NPROCESSORS_ONLN)" | 336 echo "NPROC=$(getconf _NPROCESSORS_ONLN)" |