chore(ci): Move to Forgejo Actions
This commit is contained in:
parent
c23bd243f7
commit
69a2e20e8f
1 changed files with 25 additions and 18 deletions
|
@ -6,25 +6,25 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- 'flake.lock'
|
- 'flake.lock'
|
||||||
- 'home/programs/nvim/plugins.nix'
|
- 'home/programs/nvim/plugins.nix'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-x86_64-linux:
|
build-amd64-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest-amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Check Flake
|
|
||||||
uses: DeterminateSystems/flake-checker-action@v5
|
|
||||||
with:
|
|
||||||
send-statistics: false
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v4
|
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
||||||
- name: Run the Magic Nix Cache
|
|
||||||
uses: DeterminateSystems/magic-nix-cache-action@v1
|
|
||||||
- uses: cachix/cachix-action@v12
|
|
||||||
with:
|
with:
|
||||||
name: nifoc
|
init: none
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
planner: linux
|
||||||
|
github-token: null
|
||||||
|
- name: Setup Attic
|
||||||
|
uses: https://github.com/ryanccn/attic-action@v0
|
||||||
|
with:
|
||||||
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
- run: nix build '.#nixosConfigurations.tanker.pkgs.attic-server'
|
- run: nix build '.#nixosConfigurations.tanker.pkgs.attic-server'
|
||||||
- run: nix build '.#nixosConfigurations.tanker.pkgs.attic-client'
|
- run: nix build '.#nixosConfigurations.tanker.pkgs.attic-client'
|
||||||
- run: nix build '.#nixosConfigurations.tanker.pkgs.deploy-rs'
|
- run: nix build '.#nixosConfigurations.tanker.pkgs.deploy-rs'
|
||||||
|
@ -32,15 +32,22 @@ jobs:
|
||||||
- run: nix build '.#nixosConfigurations.tanker.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
- run: nix build '.#nixosConfigurations.tanker.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
||||||
|
|
||||||
build-arm64-linux:
|
build-arm64-linux:
|
||||||
runs-on: buildjet-2vcpu-ubuntu-2204-arm
|
runs-on: ubuntu-latest-arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v4
|
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
||||||
- uses: cachix/cachix-action@v12
|
|
||||||
with:
|
with:
|
||||||
name: nifoc
|
init: none
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
planner: linux
|
||||||
|
github-token: null
|
||||||
|
- name: Setup Attic
|
||||||
|
uses: https://github.com/ryanccn/attic-action@v0
|
||||||
|
with:
|
||||||
|
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||||
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
- run: nix build '.#nixosConfigurations.argon.pkgs.attic-client'
|
- run: nix build '.#nixosConfigurations.argon.pkgs.attic-client'
|
||||||
- run: nix build '.#nixosConfigurations.argon.pkgs.deploy-rs'
|
- run: nix build '.#nixosConfigurations.argon.pkgs.deploy-rs'
|
||||||
- run: nix build '.#nixosConfigurations.argon.config.services.nginx.package'
|
- run: nix build '.#nixosConfigurations.argon.config.services.nginx.package'
|
Loading…
Reference in a new issue