build this on push??
Some checks failed
Continuous integration / Check (push) Failing after 36s
Continuous integration / build (push) Failing after 15s

This commit is contained in:
Eau
2026-03-17 23:58:48 -05:00
parent a0a282759e
commit 3e6a73a150

27
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,27 @@
on: [push, pull_request]
name: Continuous integration
env:
TARGET_PLATFORM: --target x86_64-pc-windows-gnu
APT_PACKAGES: mingw-64
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: sudo apt-get install $APT_PACKAGES
- run: rustup target add "$TARGET_PLATFORM"
- run: cargo check --target "$TARGET_PLATFORM"
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: sudo apt-get install $APT_PACKAGES
- run: rustup target add "$TARGET_PLATFORM"
- run: cargo build --target "$TARGET_PLATFORM"