Skip to content

Commit

Permalink
Test alt solution
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed May 2, 2024
1 parent c4a208b commit 80eee17
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
run: |
sed -i '' 's/keyserver\.ubuntu\.com/185.125.188.27/g' ansible/playbooks/Supporting_Scripts/package_signature_verification.sh
- name: Remove Cmake
run: |
brew uninstall cmake
- name: Run Ansible Playbook
run: |
echo "localhost ansible_user=runner ansible_connection=local" > ansible/hosts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,20 @@
with_items: "{{ Build_Tool_Packages }}"
tags: build_tools

# Install CMAKE Where It Doesnt exist
- name: Check If Cmake Is installed
stat:
path: "/opt/homebrew/bin/cmake"
register: cmake

- name: Install Cmake
become: yes
become_user: "{{ ansible_user }}"
homebrew:
name: "cmake"
state: present
tags: build_tools
when: not cmake.stat.exists
# # Install CMAKE Where It Doesnt exist
# - name: Check If Cmake Is installed
# stat:
# path: "/opt/homebrew/bin/cmake"
# register: cmake
#
# - name: Install Cmake
# become: yes
# become_user: "{{ ansible_user }}"
# homebrew:
# name: "cmake"
# state: present
# tags: build_tools
# when: not cmake.stat.exists

- name: Install Build Tool Packages NOT macOS 10.12
become: yes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Build_Tool_Packages:
- autoconf
- automake # for compiling freetype on JDK8u
- coreutils
- cmake
- gnupg
- gnu-sed
- gnu-tar
Expand Down

0 comments on commit 80eee17

Please sign in to comment.