From 9543bb75d071e3d9bee514d44aa2ddff3fd26744 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 15 Jun 2024 14:28:04 -0700 Subject: [PATCH] Don't run install in parallel on macOS CI There seems to be a race condition in macOS's install command, such that if two install -d commands simultaneously try to create the same directory, one of them returns an error. This could happen when running the install and install-desktop-file makefile targets at the same time. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1790b52..3adadd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -467,7 +467,7 @@ jobs: make check CHECK_OPTIONS=-v | tee /dev/stderr | grep -q '${{ matrix.build.failing_tests }} test(s) have FAILED' fi - name: install test - run: make prefix= DESTDIR="${PWD}" ${{ matrix.build.install_target }} + run: make prefix= DESTDIR="${PWD}" -j 1 ${{ matrix.build.install_target }} build-osx12: runs-on: macos-12 @@ -532,7 +532,7 @@ jobs: make check CHECK_OPTIONS=-v | tee /dev/stderr | grep -q '${{ matrix.build.failing_tests }} test(s) have FAILED' fi - name: install test - run: make prefix= DESTDIR="${PWD}" ${{ matrix.build.install_target }} + run: make prefix= DESTDIR="${PWD}" -j 1 ${{ matrix.build.install_target }} build-osx11: runs-on: macos-11 @@ -597,7 +597,7 @@ jobs: make check CHECK_OPTIONS=-v | tee /dev/stderr | grep -q '${{ matrix.build.failing_tests }} test(s) have FAILED' fi - name: install test - run: make prefix= DESTDIR="${PWD}" ${{ matrix.build.install_target }} + run: make prefix= DESTDIR="${PWD}" -j 1 ${{ matrix.build.install_target }} build-fedora39: runs-on: ubuntu-latest