mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
ci: also build on arm64
This commit is contained in:
parent
f30dea1502
commit
f252d839a0
2 changed files with 38 additions and 22 deletions
38
.github/workflows/build-system.yml
vendored
Normal file
38
.github/workflows/build-system.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
name: Build system configurations
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-x86_64-demeter:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@v1.3.1
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Check Nix flake Nixpkgs inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Build select system configurations.
|
||||||
|
run: |
|
||||||
|
# nix flake check --all-systems
|
||||||
|
nix build .#nixosConfigurations.demeter.config.system.build.toplevel
|
||||||
|
build-aarch64-callisto:
|
||||||
|
runs-on: ubuntu-24.04-arm
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@v1.3.1
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Check Nix flake Nixpkgs inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Build select system configurations.
|
||||||
|
run: |
|
||||||
|
# nix flake check --all-systems
|
||||||
|
nix build .#nixosConfigurations.callisto.config.system.build.toplevel
|
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
|
@ -1,22 +0,0 @@
|
||||||
name: Check flake
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
id-token: write
|
|
||||||
steps:
|
|
||||||
- name: Free Disk Space (Ubuntu)
|
|
||||||
uses: jlumbroso/free-disk-space@v1.3.1
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Check Nix flake Nixpkgs inputs
|
|
||||||
uses: DeterminateSystems/flake-checker-action@main
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
|
||||||
- name: Build select system configurations.
|
|
||||||
run: |
|
|
||||||
# nix flake check --all-systems
|
|
||||||
nix build .#nixosConfigurations.demeter.config.system.build.toplevel
|
|
Loading…
Add table
Add a link
Reference in a new issue