52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: ['master']
|
|
schedule:
|
|
- cron: '10 8 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-x86_64-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Check Flake
|
|
uses: DeterminateSystems/flake-checker-action@v5
|
|
with:
|
|
send-statistics: false
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@v4
|
|
- name: Run the Magic Nix Cache
|
|
uses: DeterminateSystems/magic-nix-cache-action@v1
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: nifoc
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- run: nix build '.#anonymous-overflow'
|
|
- run: nix build '.#fennel-ls'
|
|
- run: nix build '.#lexical'
|
|
- run: nix build '.#nitter-unstable'
|
|
- run: nix build '.#neovim-nightly'
|
|
- run: nix build '.#q'
|
|
- run: nix build '.#rimgo'
|
|
- run: nix build '.#vuetorrent'
|
|
- run: nix build '.#bdfr-browser'
|
|
- run: nix build '.#website-docs-nifoc-pw'
|
|
|
|
build-arm64-linux:
|
|
runs-on: buildjet-2vcpu-ubuntu-2204-arm
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@v4
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: nifoc
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- run: nix build '.#fennel-ls'
|
|
- run: nix build '.#lexical'
|
|
- run: nix build '.#neovim-nightly'
|
|
- run: nix build '.#q'
|
|
- run: nix build '.#weewx-proxy'
|