mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 19:07:15 +00:00
29 lines
508 B
YAML
29 lines
508 B
YAML
name: Build (Linux, x86-64)
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "**.cpp"
|
|
- "**.h"
|
|
- "**.meson.build"
|
|
- '.github/workflows/*'
|
|
|
|
|
|
jobs:
|
|
build-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v31
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- name: Build
|
|
run: nix build
|
|
|
|
- name: Flake integrity
|
|
run: nix flake check
|