Skip to content

Commit

Permalink
Don't run install in parallel on macOS CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dfandrich committed Jun 15, 2024
1 parent 882ef9f commit 9543bb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9543bb7

Please sign in to comment.