ci: use macos 11 in virtual environment
authorNiklas Cassel <niklas.cassel@wdc.com>
Tue, 14 Dec 2021 11:18:04 +0000 (11:18 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 Dec 2021 13:47:13 +0000 (06:47 -0700)
GitHub Actions was recently enabled in commit ce1b5612ce99 ("ci: add CI
via GitHub Actions").

The commit has a AuthorDate of 2020.

The commit mentions that it uses macOS 10.15 rather than 11.0 because
11.0 is only private preview.

This was true in 2020, but looking at:
https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners

macos-11 is no longer marked as private preview, so let's use it in the
virtual environment.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Link: https://lore.kernel.org/r/20211214111756.52968-2-Niklas.Cassel@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
.github/workflows/ci.yml

index 04351dd51a7b062a86cabac4ebeb44de0eaa7f6e..8167e3d163325dfb3fff7cf2cad4e5c58c4b7814 100644 (file)
@@ -22,7 +22,7 @@ jobs:
           os: ubuntu-20.04
           cc: clang
         - build: macos
-          os: macos-10.15
+          os: macos-11
 
     env:
       CI_TARGET_ARCH: ${{ matrix.arch }}