There was an error while loading. Please reload this page.
1 parent 8f9977c commit c8e9875Copy full SHA for c8e9875
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,37 @@
1
+name: Cargo Format Check
2
+
3
+on:
4
+ push:
5
+ branches: [ macos-build ]
6
7
+jobs:
8
+ format-check:
9
+ runs-on: ${{ matrix.os }}
10
+ strategy:
11
+ matrix:
12
+ os: [macos-13, macos-15]
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
+ with:
18
+ submodules: recursive
19
20
+ - name: Setup Rust toolchain
21
+ uses: actions-rs/toolchain@v1
22
23
+ toolchain: stable
24
+ override: true
25
26
+ - name: Setup Deno
27
+ uses: denoland/setup-deno@v2
28
29
+ - name: Install Protobuf
30
+ run: brew install protobuf
31
32
+ - name: Build libs
33
+ run: |
34
+ cd webui/rockbox && deno install && deno run build && cd ../..
35
+ cargo build -p rockbox-cli --release
36
+ cargo build -p rockbox-server --release
37
+ cargo build -p rockbox --release
0 commit comments