File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Rust crates
2+
3+ on :
4+ push :
5+ paths-include :
6+ - ' rust/**'
7+ pull_request :
8+ paths-include :
9+ - ' rust/**'
10+
11+ jobs :
12+ build :
13+ name : Build ${{ matrix.wheel }} on ${{ matrix.os }}
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [macos-latest, ubuntu-latest]
18+ steps :
19+ - name : Clone
20+ uses : actions/checkout@v4
21+
22+ - name : Install fuse (macOS)
23+ if : startsWith(matrix.os, 'macos')
24+ run : |
25+ export HOMEBREW_NO_AUTO_UPDATE=1
26+ export HOMEBREW_NO_INSTALL_CLEANUP=1
27+ brew install pkgconf macfuse
28+
29+ - name : Install fuse (Ubuntu)
30+ if : startsWith(matrix.os, 'ubuntu')
31+ run : |
32+ sudo apt-get install fuse3 libfuse3-dev
33+
34+ - name : Build
35+ run : |
36+ cd rust
37+ cargo build --release
Original file line number Diff line number Diff line change 66 - ' .github/**'
77 - ' !.github/workflows/**'
88 - ' README.md'
9+ - ' rust/**'
910 pull_request :
1011 paths-ignore :
1112 - ' .github/**'
1213 - ' !.github/workflows/**'
1314 - ' README.md'
15+ - ' rust/**'
1416
1517jobs :
1618 BuildWindows :
You can’t perform that action at this time.
0 commit comments