Skip to content

Commit c7d8fe7

Browse files
committed
CI (wip)
1 parent 79fceb1 commit c7d8fe7

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/nightly.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Nightly Build
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
build:
7+
runs-on: windows-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- run: rustup target add i686-pc-windows-msvc
11+
- run: cargo build
12+
- run: Compress-Archive -Path ./target/i686-pc-windows-msvc/debug -DestinationPath release.zip
13+
- uses: actions/upload-artifact@v4
14+
with:
15+
name: nightly
16+
path: target/i686-pc-windows-msvc/debug/p3_modloader.dll

.github/workflows/release.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Release Build
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
build:
9+
runs-on: windows-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- run: rustup target add i686-pc-windows-msvc
13+
- run: cargo build --release

p3-rou/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[[bin]]
7-
name = "cli"
7+
name = "rou_cli"
88
path = "src/cli.rs"
99

1010
[dependencies]

0 commit comments

Comments
 (0)