rvc-launcher/.gitea/workflows/build.yaml
Yezzi Hsueh 0ebca3ce06
Some checks failed
build-release / Build (push) Failing after 11m34s
ci: v4
2024-11-29 03:59:15 +08:00

32 lines
812 B
YAML

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