mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-16 17:50:54 +03:00
Compare commits
1 Commits
latest
...
update-cac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bec5915e6 |
64
.github/workflows/cachix.yml
vendored
64
.github/workflows/cachix.yml
vendored
@@ -1,40 +1,46 @@
|
|||||||
name: Binary Cache
|
name: Nix Binary Cache
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
on: [push, pull_request, workflow_dispatch]
|
|
||||||
jobs:
|
jobs:
|
||||||
nix:
|
nix:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macos-15-intel
|
- macos-15-intel
|
||||||
- macos-14
|
- macos-latest
|
||||||
name: "Build"
|
name: "Build"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
# - uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
# with:
|
||||||
logger: pretty
|
# logger: pretty
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
# - uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- uses: cachix/cachix-action@v14
|
- uses: cachix/install-nix-action@v31
|
||||||
with:
|
- uses: cachix/cachix-action@v16
|
||||||
name: lan-mouse
|
with:
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
name: lan-mouse
|
||||||
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- name: Build lan-mouse (x86_64-linux)
|
- name: Build lan-mouse (x86_64-linux)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: nix build --print-build-logs --show-trace .#packages.x86_64-linux.lan-mouse
|
run: nix build --print-build-logs --show-trace .#packages.x86_64-linux.lan-mouse
|
||||||
|
|
||||||
- name: Build lan-mouse (x86_64-darwin)
|
- name: Build lan-mouse (x86_64-darwin)
|
||||||
if: matrix.os == 'macos-15-intel'
|
if: matrix.os == 'macos-15-intel'
|
||||||
run: nix build --print-build-logs --show-trace .#packages.x86_64-darwin.lan-mouse
|
run: nix build --print-build-logs --show-trace .#packages.x86_64-darwin.lan-mouse
|
||||||
|
|
||||||
- name: Build lan-mouse (aarch64-darwin)
|
|
||||||
if: matrix.os == 'macos-14'
|
|
||||||
run: nix build --print-build-logs --show-trace .#packages.aarch64-darwin.lan-mouse
|
|
||||||
|
|
||||||
|
- name: Build lan-mouse (aarch64-darwin)
|
||||||
|
if: matrix.os == 'macos-latest'
|
||||||
|
run: nix build --print-build-logs --show-trace .#packages.aarch64-darwin.lan-mouse
|
||||||
|
|||||||
Reference in New Issue
Block a user