We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0855ca8 commit 5947d41Copy full SHA for 5947d41
1 file changed
.github/workflows/rust.yml
@@ -0,0 +1,31 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
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: rustup toolchain install
20
+ run: |
21
+ rustup target add x86_64-pc-windows-gnu
22
+ sudo apt-mark hold man-db
23
+ sudo dpkg-divert --divert /bin/true --rename /usr/bin/mandb
24
+ sudo apt install -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
25
+ - name: Build
26
+ run: cargo build --target x86_64-pc-windows-gnu
27
28
29
30
31
0 commit comments