Skip to content

Commit 0b8dbd8

Browse files
committed
Merge branch 'next' of https://github.com/Nyrest/FallrimPriority into next
2 parents 3c411b4 + 84d6f05 commit 0b8dbd8

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

.github/workflows/check.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Check
2+
3+
on:
4+
push:
5+
branches: [ "next" ]
6+
pull_request:
7+
branches: [ "next" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
debug-build:
14+
runs-on: windows-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Install latest nightly
19+
uses: actions-rs/toolchain@v1
20+
with:
21+
toolchain: nightly
22+
override: true
23+
components: rustfmt, clippy
24+
25+
- name: Debug build
26+
run: cargo build --verbose
27+
- name: Run tests
28+
run: cargo test --verbose
29+
30+
release-build:
31+
runs-on: windows-latest
32+
33+
steps:
34+
- uses: actions/checkout@v4
35+
- name: Install latest nightly
36+
uses: actions-rs/toolchain@v1
37+
with:
38+
toolchain: nightly
39+
override: true
40+
components: rustfmt, clippy
41+
42+
- name: Release build
43+
run: cargo build -r --features skyrim_ae,fallout_4
44+
45+
build-script:
46+
runs-on: windows-latest
47+
48+
steps:
49+
- uses: actions/checkout@v4
50+
- name: Install latest nightly
51+
uses: actions-rs/toolchain@v1
52+
with:
53+
toolchain: nightly
54+
override: true
55+
components: rustfmt, clippy
56+
57+
- name: Run build script
58+
run: python ./pack.py

0 commit comments

Comments
 (0)