Skip to content

Commit

Permalink
added self-hosted arm runner and ubuntu 22.04 build
Browse files Browse the repository at this point in the history
  • Loading branch information
fspv committed Dec 10, 2024
1 parent c71050d commit 10239f5
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/nix-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,50 @@ jobs:
uses: cachix/install-nix-action@v27
- name: Init user env
run: |
nix-channel --add https://nixos.org/channels/nixos-24.05 nixpkgs
nix-channel --update
./.local/share/bin/init-user-env.sh
- name: Install dependencies
run: |
nix-shell .config/nix/dev.nix --run "echo Nix initialised successfully!"
- name: Test bash
run: |
nix-shell .config/nix/dev.nix --run "bash -ic 'echo hello'"
- name: Test zsh
run: |
nix-shell .config/nix/dev.nix --run "zsh -ic 'echo hello'"
build-ubuntu-22-04:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Nix
uses: cachix/install-nix-action@v27
- name: Init user env
run: |
nix-channel --add https://nixos.org/channels/nixos-24.05 nixpkgs
nix-channel --update
./.local/share/bin/init-user-env.sh
- name: Install dependencies
run: |
nix-shell .config/nix/dev.nix --run "echo Nix initialised successfully!"
- name: Test bash
run: |
nix-shell .config/nix/dev.nix --run "bash -ic 'echo hello'"
- name: Test zsh
run: |
nix-shell .config/nix/dev.nix --run "zsh -ic 'echo hello'"
build-ubuntu-24-04-arm64:
runs-on: [self-hosted, linux, ARM64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Nix
uses: cachix/install-nix-action@v27
- name: Init user env
run: |
nix-channel --add https://nixos.org/channels/nixos-24.05 nixpkgs
nix-channel --update
./.local/share/bin/init-user-env.sh
- name: Install dependencies
run: |
Expand Down

0 comments on commit 10239f5

Please sign in to comment.