From 794036e3835a14852e6be9ae00e1dd758cd76f22 Mon Sep 17 00:00:00 2001 From: NextFire Date: Thu, 4 Apr 2024 22:38:07 -0400 Subject: [PATCH] [ci] nix flake check / build --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ renovate.json | 3 +-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..202542e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: "Nix" + +on: + push: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v26 + - run: nix flake check --all-systems + + build: + strategy: + fail-fast: false + matrix: + os: + - ubuntu-22.04 # linux x86_64 + - macos-12 # macOS x86_64 + - macos-14 # macOS arm64 + package: + - dakara_check + - ffmpegaacsucks + - syncplay + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v26 + - run: nix build -L .#${{ matrix.package }} diff --git a/renovate.json b/renovate.json index 9f5a8d4..b345b59 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,4 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>Japan7/renovate-config"], - "ignoreTests": true + "extends": ["github>Japan7/renovate-config"] }