File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 33
33
strategy :
34
34
fail-fast : ${{ github.event_name == 'merge_group' }}
35
35
matrix :
36
- # smoelius: Test with `macos-latest` once the repository is made public.
37
- environment : [ubuntu-latest]
36
+ environment : [ubuntu-latest, macos-15]
38
37
anchor-version : [0.31.1]
39
38
40
39
runs-on : ${{ matrix.environment }}
@@ -76,11 +75,21 @@ jobs:
76
75
- name : Rustup
77
76
run : rustup update
78
77
79
- - name : Install Agave prerequisites
80
- run : |
78
+ - name : Install Agave prerequisites on Ubuntu
79
+ if : ${{ matrix.environment == 'ubuntu-latest' }}
81
80
sudo apt update
82
81
sudo apt install libclang-dev libudev-dev llvm protobuf-compiler
83
82
83
+ - name : Install Agave prerequisites on macOS
84
+ if : ${{ matrix.environment == 'macos-15' }}
85
+ run : |
86
+ brew install coreutils gnu-sed llvm protobuf
87
+ echo "/opt/homebrew/opt/gnu-sed/libexec/gnubin" >> "$GITHUB_PATH"
88
+ # smoelius: ~/lib is one of the directories `librocksdb-sys`'s build script checks
89
+ # for libclang.dylib.
90
+ mkdir ~/lib
91
+ ln -s /opt/homebrew/opt/llvm/lib/libclang.dylib ~/lib/libclang.dylib
92
+
84
93
- name : Install Agave
85
94
run : |
86
95
if ! ./agave/bin/solana-test-validator --version; then
You can’t perform that action at this time.
0 commit comments