Skip to content

Commit 44480a1

Browse files
committed
[CI] Siplify environment setup on macOS
1 parent 4d981ba commit 44480a1

1 file changed

Lines changed: 6 additions & 18 deletions

File tree

.github/workflows/mac.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@ 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
23-
brew link libomp --overwrite --force
24-
brew install openssl
25-
brew link openssl --overwrite --force
20+
brew update
21+
brew install ninja mpich llvm libomp openssl
2622
- name: ccache
2723
uses: hendrikmuhs/ccache-action@v1.2
2824
with:
@@ -59,12 +55,8 @@ jobs:
5955
xcode-version: 'latest-stable'
6056
- name: Setup environment
6157
run: |
62-
brew update-reset
63-
brew install ninja mpich llvm
64-
brew install libomp
65-
brew link libomp --overwrite --force
66-
brew install openssl
67-
brew link openssl --overwrite --force
58+
brew update
59+
brew install ninja mpich llvm libomp openssl
6860
- name: Download installed package
6961
uses: actions/download-artifact@v4
7062
with:
@@ -93,12 +85,8 @@ jobs:
9385
xcode-version: 'latest-stable'
9486
- name: Setup environment
9587
run: |
96-
brew update-reset
97-
brew install ninja mpich llvm
98-
brew install libomp
99-
brew link libomp --overwrite --force
100-
brew install openssl
101-
brew link openssl --overwrite --force
88+
brew update
89+
brew install ninja mpich llvm libomp openssl
10290
- name: Download installed package
10391
uses: actions/download-artifact@v4
10492
with:

0 commit comments

Comments
 (0)