Commit e113fd04ca42
Changed files (6)
.github/workflows/build-keyboard-eyelash-corne.yaml
@@ -1,40 +0,0 @@
-name: keyboard-eyelash-corne
-
-permissions:
- contents: read
-
-on:
- workflow_dispatch: {}
- pull_request:
- paths:
- - 'keyboards/eyelash_corne/**'
- - 'keyboards/lib/**'
- - 'keyboards/Makefile'
- - '.github/workflows/build-keyboard-eyelash-corne.yaml'
- push:
- branches:
- - main
- paths:
- - 'keyboards/eyelash_corne/**'
- - 'keyboards/lib/**'
- - 'keyboards/Makefile'
- - '.github/workflows/build-keyboard-eyelash-corne.yaml'
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}-keyboard-eyelash-corne
- cancel-in-progress: true
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - name: Build eyelash_corne firmware
- run: |
- make keyboards/eyelash_corne/build
- - name: Upload firmware artifacts
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- with:
- name: eyelash_corne-firmware
- path: keyboards/eyelash_corne/firmwares/eyelash_corne_*.uf2
- if-no-files-found: error
.github/workflows/build-keyboard-moonlander.yaml
@@ -1,41 +0,0 @@
-name: keyboard-moonlander
-
-permissions:
- contents: read
-
-on:
- workflow_dispatch: {}
- pull_request:
- paths:
- - 'keyboards/moonlander/**'
- - 'keyboards/lib/**'
- - '.github/workflows/build-keyboard-moonlander.yaml'
- push:
- branches:
- - main
- paths:
- - 'keyboards/moonlander/**'
- - 'keyboards/lib/**'
- - '.github/workflows/build-keyboard-moonlander.yaml'
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}-keyboard-moonlander
- cancel-in-progress: true
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- with:
- nix_path: nixpkgs=channel:nixos-unstable
- - name: Build moonlander firmware
- run: |
- make keyboards/moonlander/update keyboards/moonlander/build
- - name: Upload firmware artifacts
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- with:
- name: moonlander-firmware
- path: keyboards/moonlander/build/zsa_moonlander_vincent.bin
- if-no-files-found: error
.github/workflows/build-packages.yaml
@@ -1,55 +0,0 @@
-name: packages
-
-permissions:
- contents: read
-
-on:
- workflow_dispatch: {}
- pull_request:
- paths:
- - 'pkgs/**'
- - 'flake.nix'
- - 'flake.lock'
- - '.github/workflows/build-packages.yaml'
- push:
- branches:
- - main
- paths:
- - 'pkgs/**'
- - 'flake.nix'
- - 'flake.lock'
- - '.github/workflows/build-packages.yaml'
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}-packages
- cancel-in-progress: true
-
-jobs:
- nix-matrix:
- runs-on: ubuntu-latest
- outputs:
- matrix: ${{ steps.set-matrix.outputs.matrix }}
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- - id: set-matrix
- name: Generate Nix Matrix
- run: |
- set -Eeu
- set -o pipefail
- echo "matrix=$(nix eval --json '.#githubActions.matrix')" >> "$GITHUB_OUTPUT"
-
- nix-build:
- needs: nix-matrix
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false # Keep running if one leg fails.
- matrix: ${{fromJSON(needs.nix-matrix.outputs.matrix)}}
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- - uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
- with:
- name: chapeau-rouge
- authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- - run: nix build -L ".#${{ matrix.attr }}"
.github/workflows/build-systems.yaml
@@ -1,89 +0,0 @@
-name: systems
-
-permissions:
- contents: read
-
-on:
- workflow_dispatch: {}
- pull_request:
- paths:
- - 'home/**'
- - 'systems/**'
- - 'lib/**'
- - 'modules/**'
- - 'tools/battery-monitor/**'
- - 'tools/bekind/**'
- - 'tools/go-org-readwise/**'
- - 'tools/k8s.infra/**'
- - 'flake.nix'
- - 'flake.lock'
- - '.github/workflows/build-systems.yaml'
- push:
- branches:
- - main
- paths:
- - 'home/**'
- - 'systems/**'
- - 'lib/**'
- - 'modules/**'
- - 'tools/battery-monitor/**'
- - 'tools/bekind/**'
- - 'tools/go-org-readwise/**'
- - 'tools/k8s.infra/**'
- - 'flake.nix'
- - 'flake.lock'
- - '.github/workflows/build-systems.yaml'
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}-systems
- cancel-in-progress: true
-
-jobs:
- nix-matrix:
- runs-on: ubuntu-latest
- outputs:
- matrix: ${{ steps.set-matrix.outputs.matrix }}
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- - id: set-matrix
- name: Generate Nix Matrix
- run: |
- set -Eeu
- set -o pipefail
- echo "matrix={\"include\": $(nix eval .#githubActionsMatrix --raw)}" >> "$GITHUB_OUTPUT"
- cat $GITHUB_OUTPUT
-
- nix-build:
- needs: nix-matrix
- runs-on: ${{ matrix.arch == 'aarch64-linux' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
- strategy:
- fail-fast: false # Keep running if one leg fails.
- matrix: ${{fromJSON(needs.nix-matrix.outputs.matrix)}}
- steps:
- - name: Maximize build space
- uses: AdityaGarg8/remove-unwanted-software@90e01b21170618765a73370fcc3abbd1684a7793 # v5
- with:
- remove-android: 'true'
- remove-dotnet: 'true'
- remove-haskell: 'true'
- remove-codeql: 'true'
- remove-docker-images: 'false'
- remove-large-packages: 'true'
- remove-cached-tools: 'true'
- remove-swapfile: 'true'
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- - uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
- with:
- name: vdemeester
- authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- skipPush: ${{ github.event_name == 'pull_request' }}
- - name: build
- run: |
- # FIXME temporary hack to make system build successfully
- # I need to create dumb file for mkOutOfStoreSymlink
- sudo mkdir -p /home/vincent/src/home/dots/.config/emacs /home/vincent/desktop/documents
- sudo touch /home/vincent/desktop/documents/.oath
- # build the system
- nix build --accept-flake-config -L ".#nixosConfigurations.${{ matrix.name }}.config.system.build.toplevel"
.github/workflows/nix-auto-upgrade.yaml
@@ -1,29 +0,0 @@
-name: update-flake-lock
-on:
- workflow_dispatch: # allows manual triggering
- schedule:
- - cron: '0 0 * * 3' # runs weekly on Tuesday at 00:00
-
-jobs:
- lockfile:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - name: Install Nix
- uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- with:
- extra_nix_config: |
- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- - name: Update flake.lock
- uses: DeterminateSystems/update-flake-lock@834c491b2ece4de0bbd00d85214bb5e83b4da5c6 # v28
- with:
- token: ${{ secrets.SBR_BOT_TOKEN }}
- git-author-name: 'Vincent Demeester (sbr-bot)'
- git-author-email: 'bot@sbr.pm'
- git-committer-name: 'Vincent Demeester (sbr-bot)'
- git-committer-email: 'bot@sbr.pm'
- pr-title: "Update flake.lock" # Title of PR to be created
- pr-labels: | # Labels to be set on the PR
- dependencies
- automated
.github/dependabot.yaml
@@ -1,6 +0,0 @@
-version: 2
-updates:
- - package-ecosystem: "github-actions"
- directory: "/"
- schedule:
- interval: "weekly"