Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/build-system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build for linux

on:
pull_request:

jobs:
build-x86_64:
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Check Nix flake Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
- name: Build x86_64-linux
run: |
# nix flake check --all-systems
nix build --accept-flake-config
build-aarch64:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Check Nix flake Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
- name: Build aarch64-linux
run: |
# nix flake check --all-systems
nix build --accept-flake-config
20 changes: 0 additions & 20 deletions .github/workflows/ci.yml

This file was deleted.

12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
let
inherit (nixCats) utils;
luaPath = "${./.}";
forEachSystem = utils.eachSystem nixpkgs.lib.platforms.all;
forEachSystem = utils.eachSystem [
"aarch64-linux"
"x86_64-linux"
"i686-linux"
"aarch64-darwin"
"x86_64-darwin"
];
extra_pkg_config = {
# allowUnfree = true;
};
Expand Down