CICD First Draft
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# .gitea/workflows/build.yml
|
||||
name: cargo build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: nix
|
||||
env:
|
||||
CARGO_TARGET_DIR: /tmp/game_kt-target
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build crate (Nix dev shell)
|
||||
run: nix develop --extra-experimental-features "nix-command flakes" -c cargo build --verbose
|
||||
Reference in New Issue
Block a user