Skip to content

Commit

Permalink
GitHub-CI/build_nix_NixOS-stable-23.11: add new job
Browse files Browse the repository at this point in the history
  • Loading branch information
meebey committed Apr 21, 2024
1 parent 0400c1b commit d5ac681
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/auto-ci-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,27 @@ jobs:
run: |
dpkg-buildpackage -us -uc -rfakeroot --build=binary
build_nix_NixOS-stable-23.11:
runs-on: ubuntu-latest
container: nixos/nix
steps:
- uses: actions/checkout@v1
- name: check Nix version
run: |
nix --version
nix-channel --list
- name: switch to stable channel
run: |
nix-channel --remove nixos
nix-channel --add https://nixos.org/channels/nixos-23.11 nixos
- name: list and update channel
run: |
nix-channel --list
nix-channel --update
- name: build nix pkg
run: |
nix-build --expr 'let pkgs = import <nixpkgs> { }; in pkgs.callPackage ./nix/default.nix { gitBranch = "${{ github.ref_name }}"; }'
build_nix_NixOS-unstable:
runs-on: ubuntu-latest
container: nixos/nix
Expand Down

0 comments on commit d5ac681

Please sign in to comment.