Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
segoon committed Oct 22, 2024
1 parent 35ca1f9 commit 335d403
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,11 @@ jobs:
with:
fetch-depth: 0

- name: export SDKROOT
- name: Install brew packages
run: |
export SDKROOT="`xcrun --show-sdk-path`"
- name: Update brew
run: |
brew update
cat "$(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/foo.rb" > .github/brew-formulae
- name: Cache Homebrew Packages
uses: actions/cache@v3
with:
path: $(brew --prefix)
key: |
macos-homebrew-${{ hashFiles('.github/brew-formulae') }}-${{ hashFiles('scripts/docs/en/deps/macos.md') }}
restore-keys:
macos-homebrew-

- name: Install brew packages
run: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install $(cat scripts/docs/en/deps/macos.md)
brew install $(cat scripts/docs/en/deps/macos.md)
brew link postgresql@16
- name: Run cmake
Expand All @@ -67,4 +51,9 @@ jobs:
- name: Compile
run: |
cd build_debug
make -j$(nproc) -k
make -j$(nproc)
- name: Test
run: |
cd build_debug
ctest -V

0 comments on commit 335d403

Please sign in to comment.