We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dbc6387 + b6c0e41 commit 5a9d5a7Copy full SHA for 5a9d5a7
.github/workflows/rust.yml
@@ -0,0 +1,32 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: ⚡ Cache
20
+ uses: actions/cache@v4
21
+ with:
22
+ path: |
23
+ ~/.cargo/registry
24
+ ~/.cargo/git
25
+ target
26
+ key: ${{ runner.os }}-cargo
27
+ - name: Set permissions
28
+ run: chmod +x d
29
+ - name: Load sources
30
+ run: ./d download-all
31
+ - name: Run build
32
+ run: cargo run --release --bin stm32-bindings-gen
0 commit comments