Skip to content

Commit 5dde539

Browse files
authored
Create rust.yml
1 parent 696d28f commit 5dde539

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/rust.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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: windows-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: xpol/setup-lua@v1
20+
with:
21+
lua-version: "luajit-2.0.5"
22+
- name: Build
23+
run: cargo build --verbose --release
24+
env:
25+
LUA_LIB: "./.lua/lib"
26+
- uses: actions/upload-artifact@v2
27+
with:
28+
name: json5.dll
29+
path: target/release/json5.dll
30+

0 commit comments

Comments
 (0)