Skip to content

Add CI to automatically sync upstream master #336

Add CI to automatically sync upstream master

Add CI to automatically sync upstream master #336

Workflow file for this run

name: "Nix CI"
on:
pull_request:
push:
jobs:
nix-build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v16
with:
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.8.0pre20220311_d532269/install
# Configure Nix to enable flakes
- run: echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
- name: Nix Flake Check
run: nix -Lv flake check
- uses: cachix/cachix-action@v10
with:
name: emacsng
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Run Emacsng Exec
run: nix -Lv run .#emacsng-noNativeComp -- --version