From 393df6762ec7d61444c1b5f68bb38a15ee32672c Mon Sep 17 00:00:00 2001 From: Brennan Ashton Date: Sun, 20 Nov 2022 20:52:14 -0800 Subject: [PATCH] CI: Update worker base OS version --- .github/workflows/build.yml | 8 +++++++- .github/workflows/check.yml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b3364b97..bb6d20c80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,7 +162,7 @@ jobs: macOS: permissions: contents: none - runs-on: macos-10.15 + runs-on: macos-12 needs: Fetch-Source strategy: matrix: @@ -186,6 +186,12 @@ jobs: - name: Export NuttX Repo SHA run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV + + # Released version of Cython has issues with Python 11. Set runner to use Python 3.10 + # https://github.com/cython/cython/issues/4500 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' - name: Run Builds run: | echo "::add-matcher::sources/nuttx/.github/gcc.json" diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1459af39a..19f65eb19 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -24,7 +24,7 @@ permissions: jobs: check: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout nuttx repo