Skip to content

Commit e9cb590

Browse files
committed
Create workflow
1 parent 0855ca8 commit e9cb590

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/rust.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
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 install --no-install-recommends -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
23+
- name: Build
24+
run: cargo build --target x86_64-pc-windows-gnu
25+
26+
27+
28+
29+

0 commit comments

Comments
 (0)