Skip to content

UnixPB: Only Install CMake on mac where not already present. #1274

UnixPB: Only Install CMake on mac where not already present.

UnixPB: Only Install CMake on mac where not already present. #1274

Workflow file for this run

name: Ansible Playbook
on:
pull_request:
paths:
- .github/workflows/build_mac.yml
- ansible/playbooks/AdoptOpenJDK_Unix_Playbook/**
branches:
- master
permissions:
contents: read
jobs:
build-macos:
name: macOS
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: [macos-11]
- os: [macos-14]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Install dependencies
run: brew install ansible
- name: Run Ansible Playbook
run: |
echo "localhost ansible_user=runner ansible_connection=local" > ansible/hosts
set -eux
cd ansible
sudo ansible-playbook -i hosts playbooks/AdoptOpenJDK_Unix_Playbook/main.yml --skip-tags="hosts_file,hostname,brew_upgrade,brew_cu,kernel_tuning,adoptopenjdk,jenkins,nagios,superuser,swap_file,crontab"