diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-02-17 13:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 13:12:39 +0100 |
commit | bf830a53f5b015e055383ef5c2a3ae923d9c393f (patch) | |
tree | 6f8b77223426d35bd517fec40eb049a3ed849711 | |
parent | ea0737c838b029fc96b1321c4ac15e0dc7e29b84 (diff) | |
download | rneovim-bf830a53f5b015e055383ef5c2a3ae923d9c393f.tar.gz rneovim-bf830a53f5b015e055383ef5c2a3ae923d9c393f.tar.bz2 rneovim-bf830a53f5b015e055383ef5c2a3ae923d9c393f.zip |
ci: test on macOS M1 (#27276)
Problem: No test coverage on ARM.
Solution: Add `macos-14` tests, which now run on M1. Skip unit tests as these don't work on M1, see #26145. Also test universal build on M1.
Note: `macos-14` will be `macos-latest` in Q2 2024, so we'll want to switch these to keep Intel and unittest coverage on macos (while GH still offers Intel runners).
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test.yml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5dd53150ea..13fa692be1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ env: jobs: macos-universal: - runs-on: macos-latest + runs-on: macos-14 timeout-minutes: 20 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86f11fcd99..6bd40b8561 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -104,6 +104,7 @@ jobs: { runner: ubuntu-22.04, flavor: tsan, cc: clang, flags: -D ENABLE_TSAN=ON }, { runner: ubuntu-22.04, cc: gcc }, { runner: macos-12, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER }, + { runner: macos-14, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER }, { runner: ubuntu-22.04, flavor: puc-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON }, ] test: [unittest, functionaltest, oldtest] @@ -112,6 +113,8 @@ jobs: build: { flavor: tsan } - test: unittest build: { flavor: puc-lua } + - test: unittest + build: { runner: macos-14 } # unittests don't work on M1 #26145 - test: oldtest build: { flavor: tsan } runs-on: ${{ matrix.build.runner }} |