Skip to content

Commit 6946a7d

Browse files
authored
[CI] Simplify environment setup on macOS (#491)
1 parent 0f36edb commit 6946a7d

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/mac.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,9 @@ jobs:
1717
xcode-version: 'latest-stable'
1818
- name: Setup environment
1919
run: |
20-
brew update-reset
21-
brew install ninja mpich llvm
22-
brew install libomp
20+
brew update
21+
brew install ninja mpich llvm libomp openssl
2322
brew link libomp --overwrite --force
24-
brew install openssl
25-
brew link openssl --overwrite --force
2623
- name: ccache
2724
uses: hendrikmuhs/[email protected]
2825
with:
@@ -59,12 +56,9 @@ jobs:
5956
xcode-version: 'latest-stable'
6057
- name: Setup environment
6158
run: |
62-
brew update-reset
63-
brew install ninja mpich llvm
64-
brew install libomp
59+
brew update
60+
brew install ninja mpich llvm libomp openssl
6561
brew link libomp --overwrite --force
66-
brew install openssl
67-
brew link openssl --overwrite --force
6862
- name: Download installed package
6963
uses: actions/download-artifact@v4
7064
with:
@@ -93,12 +87,9 @@ jobs:
9387
xcode-version: 'latest-stable'
9488
- name: Setup environment
9589
run: |
96-
brew update-reset
97-
brew install ninja mpich llvm
98-
brew install libomp
90+
brew update
91+
brew install ninja mpich llvm libomp openssl
9992
brew link libomp --overwrite --force
100-
brew install openssl
101-
brew link openssl --overwrite --force
10293
- name: Download installed package
10394
uses: actions/download-artifact@v4
10495
with:

0 commit comments

Comments
 (0)