diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ff44c0a8c0673a..c9455246269d2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -449,20 +449,11 @@ jobs: if: needs.ci-config.outputs.enabled == 'yes' env: jobname: sparse - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 concurrency: group: sparse-${{ github.ref }} cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }} steps: - - name: Download a current `sparse` package - # Ubuntu's `sparse` version is too old for us - uses: git-for-windows/get-azure-pipelines-artifact@v0 - with: - repository: git/git - definitionId: 10 - artifact: sparse-20.04 - - name: Install the current `sparse` package - run: sudo dpkg -i sparse-20.04/sparse_*.deb - uses: actions/checkout@v4 - name: Install other dependencies run: ci/install-dependencies.sh diff --git a/.github/workflows/scalar-functional-tests.yml b/.github/workflows/scalar-functional-tests.yml index 4886c20450f726..6bf972709ab031 100644 --- a/.github/workflows/scalar-functional-tests.yml +++ b/.github/workflows/scalar-functional-tests.yml @@ -20,15 +20,13 @@ jobs: fail-fast: false matrix: # Order by runtime (in descending order) - os: [windows-2019, macos-13, ubuntu-20.04, ubuntu-22.04] + os: [windows-2019, macos-13, ubuntu-22.04] # Scalar.NET used to be tested using `features: [false, experimental]` # But currently, Scalar/C ignores `feature.scalar` altogether, so let's # save some electrons and run only one of them... features: [ignored] exclude: # The built-in FSMonitor is not (yet) supported on Linux - - os: ubuntu-20.04 - features: experimental - os: ubuntu-22.04 features: experimental runs-on: ${{ matrix.os }} diff --git a/Makefile b/Makefile index 6fefa3d8db3a40..898a2fa5dd99d0 100644 --- a/Makefile +++ b/Makefile @@ -1424,7 +1424,7 @@ ARFLAGS = rcs PTHREAD_CFLAGS = # For the 'sparse' target -SPARSE_FLAGS ?= -std=gnu99 +SPARSE_FLAGS ?= -std=gnu99 -D__STDC_NO_VLA__ SP_EXTRA_FLAGS = # For informing GIT-BUILD-OPTIONS of the SANITIZE=leak,address targets diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh index 0df74610d063fb..8700c0f2924d7f 100755 --- a/ci/install-dependencies.sh +++ b/ci/install-dependencies.sh @@ -119,7 +119,7 @@ StaticAnalysis) sparse) sudo apt-get -q update -q sudo apt-get -q -y install libssl-dev libcurl4-openssl-dev \ - libexpat-dev gettext zlib1g-dev + libexpat-dev gettext zlib1g-dev sparse ;; Documentation) sudo apt-get -q update