-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): split to separate workflows
- Loading branch information
1 parent
cd3a100
commit cc5eb62
Showing
7 changed files
with
100 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build x86 host | ||
on: | ||
workflow_call: | ||
inputs: | ||
configuration: | ||
required: true | ||
type: string | ||
secrets: | ||
GITHUB_TOKEN: | ||
required: true | ||
CACHIX_AUTH_TOKEN: | ||
required: true | ||
jobs: | ||
build_system: | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@v20 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-23.05 | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- uses: cachix/cachix-action@v12 | ||
with: | ||
name: truelecter | ||
extraPullNames: cuda-maintainers, mic92, nix-community, nrdxp | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
- name: Build system configuration | ||
run: | | ||
nix build ".#nixosConfigurations.${{ inputs.configuration }}.config.system.build.toplevel" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Build depsos | ||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
call-workflow-passing-data: | ||
uses: ./.github/base-workflows/build-x86-host.yaml | ||
with: | ||
configuration: nixos-depsos | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Build hyperos | ||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
call-workflow-passing-data: | ||
uses: ./.github/base-workflows/build-x86-host.yaml | ||
with: | ||
configuration: nixos-hyperos | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Build nas | ||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
call-workflow-passing-data: | ||
uses: ./.github/base-workflows/build-x86-host.yaml | ||
with: | ||
configuration: nixos-nas | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Build tl-wsl | ||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
call-workflow-passing-data: | ||
uses: ./.github/base-workflows/build-x86-host.yaml | ||
with: | ||
configuration: wsl-tl-wsl | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build tl-wsl | ||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_shell: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@v20 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-23.05 | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- uses: cachix/cachix-action@v12 | ||
with: | ||
name: truelecter | ||
extraPullNames: cuda-maintainers, mic92, nix-community, nrdxp | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
- name: Build shell | ||
run: | | ||
nix develop --command "menu" |
This file was deleted.
Oops, something went wrong.