mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
macOS CI: Upgrade GNU make in ci/cirrusci.sh (#17034)
This should fix Phobos CI, which expects such prerequisites provisioning to happen in DMD's ci/cirrusci.sh. Because this YAML addition hasn't been duplicated in Phobos, Phobos CI is still using the default make on macOS, which is too old and doesn't support the newly required `private` modifier.
This commit is contained in:
parent
6c09f58feb
commit
dbba866c71
2 changed files with 4 additions and 5 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -115,11 +115,6 @@ jobs:
|
|||
uses: dlang-community/setup-dlang@v1.3.0
|
||||
with:
|
||||
compiler: ${{ matrix.host_dmd }}
|
||||
- name: 'MacOS: Install recent make'
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
brew install make
|
||||
echo "PATH=/usr/local/opt/make/libexec/gnubin:$PATH" >> $GITHUB_ENV
|
||||
|
||||
- name: Set up repos
|
||||
run: |
|
||||
|
|
|
@ -27,6 +27,10 @@ if [ "$OS_NAME" == "linux" ]; then
|
|||
fi
|
||||
apt-get -q update
|
||||
apt-get install -yq $packages
|
||||
elif [ "$OS_NAME" == "osx" ]; then
|
||||
# upgrade GNU make
|
||||
brew install make
|
||||
sudo ln -s /usr/local/opt/make/libexec/gnubin/make /usr/local/bin/make
|
||||
elif [ "$OS_NAME" == "freebsd" ]; then
|
||||
packages="git gmake devel/llvm12"
|
||||
if [ "$HOST_DMD" == "dmd-2.079.0" ] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue