summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-18 01:28:42 -0500
committerseth <[email protected]>2023-12-18 02:18:35 -0500
commit8faa242f21648e52a6bbdfa803fd4ea1b0e347e0 (patch)
treeeff6694cefb2f821bf19b0d8cb3d97bf48cb15b9 /.github/workflows/ci.yaml
parent9fe8afd0c5f2b439176728d8863570bf22614dbd (diff)
port to nixvim
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml18
1 files changed, 11 insertions, 7 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 36e806e..5beff00 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -2,7 +2,7 @@ name: CI
on:
push:
- branches: ["main"]
+ branches: [main]
pull_request:
workflow_dispatch:
@@ -10,14 +10,17 @@ jobs:
build:
strategy:
matrix:
- os: [macos-latest]
include:
+ - os: macos-latest
+ arch: x86_64
+
- os: ubuntu-latest
- arch: "x86_64"
+ arch: x86_64
- os: ubuntu-latest
- arch: "aarch64"
+ arch: aarch64
+ name: Build (${{ matrix.os }}/${{ matrix.arch }})
runs-on: ${{ matrix.os }}
continue-on-error: true
@@ -47,11 +50,12 @@ jobs:
if: matrix.arch != 'aarch64'
run: nix build -L
- - name: Run ARM build
+ - name: Run build
if: matrix.arch == 'aarch64'
- run: nix build -Lv .#packages.${{ matrix.arch }}-linux.default
+ run: nix build -L .#packages.${{ matrix.arch }}-linux.default
check:
+ name: Check flake
runs-on: ubuntu-latest
steps:
@@ -64,4 +68,4 @@ jobs:
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Run check
- run: nix flake check --show-trace
+ run: nix flake check -L --show-trace