Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
0ebca3ce06 | |||
6462b5d78b | |||
8f017c1cdb | |||
1b9e56e2c4 | |||
a3fa08ee3d | |||
2951d4ae28 | |||
48a0c7d94e |
31
.gitea/workflows/build.yaml
Normal file
31
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: build-release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
- 'dev'
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
jobs:
|
||||||
|
Build:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup Rust
|
||||||
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: 1.83.0
|
||||||
|
target: x86_64-pc-windows-gnu
|
||||||
|
cache-key: 1.83.0
|
||||||
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
with:
|
||||||
|
packages: gcc gcc-mingw-w64-x86-64
|
||||||
|
version: 1.0
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --target=x86_64-pc-windows-gnu --release
|
||||||
|
- name: Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: rvc-launcher.exe
|
||||||
|
path: target/x86_64-pc-windows-gnu/release/rvc-launcher.exe
|
Loading…
Reference in New Issue
Block a user