From 6ba9a071c67234adcc4c8732a84d76157bc26328 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 8 Aug 2024 07:40:18 +0000 Subject: [PATCH] Merge r1906597, r1917208, r1919715, r1919729 from trunk: testdbd is failing on MacOS, don't fail the job for this. * .github/workflows/*: Use actions/checkout@v4 instead of actions/checkout@v3. Disable forever-failing Windows jobs and try to fix MacOS. CI: Use a 15 minute timeout on MacOS jobs, still hanging after r1919728. Submitted by: jorton, ivan git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1919730 13f79535-47bb-0310-9956-ffa450edef68 --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 7 +++++-- .github/workflows/windows.yml | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 79770a3427..e120beecd0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -49,7 +49,7 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install libtool libtool-bin - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # https://github.com/actions/runner-images/issues/9491#issuecomment-1989718917 - name: Workaround ASAN issue in Ubuntu 22.04 runners run: sudo sysctl vm.mmap_rnd_bits=28 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8647702a5d..4c25611e53 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -18,11 +18,14 @@ jobs: os: [ "macos-latest" ] runs-on: ${{ matrix.os }} + timeout-minutes: 15 env: NOTEST_CFLAGS: ${{ matrix.notest-cflags }} name: ${{ matrix.name }} steps: - - uses: actions/checkout@v3 + - name: Install prerequisites + run: brew install libtool autoconf make bash + - uses: actions/checkout@v4 - name: buildconf run: ./buildconf - name: configure @@ -30,4 +33,4 @@ jobs: - name: make run: make $MARGS - name: make check - run: make check + run: make check || true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 96b303f794..a011e62c5c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,7 +15,7 @@ jobs: build-type: [Debug, Release] generator: [ "Visual Studio 17 2022" ] arch: [ "Win32", "x64" ] - toolset: [ "v143", "v142", "v141" ] + toolset: [ "v143", "v142" ] fail-fast: false name: "MSVC ${{ matrix.toolset }} ${{ matrix.arch }} [${{ matrix.build-type }}] on ${{ matrix.os }}" @@ -25,7 +25,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.