Removed .github/ workflows

This commit is contained in:
Andrea Ciceri 2023-06-18 13:35:35 +02:00
parent 25e19ec538
commit 1293cde8c8
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
6 changed files with 0 additions and 173 deletions

View file

@ -1,27 +0,0 @@
name: build-hs
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
build-hs:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
accept-flake-config = true
- uses: cachix/cachix-action@v12
with:
name: aciceri-fleet
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.hs.config.system.build.toplevel

View file

@ -1,33 +0,0 @@
name: build-pbp
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
build-pbp:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
accept-flake-config = true
- run: |
DEBIAN_FRONTEND=noninteractive
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
mkdir -p ~/.config/nix
sudo bash -c "echo system-features = aarch64-linux arm-linux >> /etc/nix/nix.conf"
- uses: cachix/cachix-action@v12
with:
name: aciceri-fleet
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix --print-build-logs --verbose build --allow-import-from-derivation --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux .#nixosConfigurations.pbp.config.system.build.toplevel

View file

@ -1,28 +0,0 @@
# TODO re-enable with cross-compilation (or `binfmt`?)
# name: build-rock5b
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
build-rock5b:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
# - uses: cachix/install-nix-action@v18
# with:
# extra_nix_config: |
# accept-flake-config = true
# - uses: cachix/cachix-action@v12
# with:
# name: aciceri-fleet
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# - run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.rock5b.config.system.build.toplevel

View file

@ -1,27 +0,0 @@
name: build-thinkpad
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
build-thinkpad:
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
accept-flake-config = true
- uses: cachix/cachix-action@v12
with:
name: aciceri-fleet
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.thinkpad.config.system.build.toplevel

View file

@ -1,27 +0,0 @@
name: check
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
check:
if: ${{ false }} // Temporarily disabled
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
accept-flake-config = true
- uses: cachix/cachix-action@v12
with:
name: aciceri-fleet
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix --print-build-logs --verbose flake check --allow-import-from-derivation --keep-going

View file

@ -1,31 +0,0 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 2 * * *' # running daily at 02:00 AM
jobs:
update-lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
accept-flake-config = true
- uses: cachix/cachix-action@v12
with:
name: aciceri-fleet
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v15
with:
pr-title: "Automatic `flake.lock` update"
pr-labels: |
flake-inputs
automatic
token: ${{ secrets.PR_UPDATE_FLAKE_TOKEN }} # to open the PR using my GitHub account, needed to trigger the `build` workflow