From 52e7d0a83bbc4e19918e934f9866a2b1774909ed Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 19 Apr 2025 15:52:54 +1000 Subject: [PATCH] chore: Add CI --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..b96cc86 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: "CI" +on: + # Run only when pushing to master branch, and making PRs + push: + branches: + - master + pull_request: +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - name: Install omnix + run: nix profile install nixpkgs#omnix + - name: Build all flake outputs + run: om ci run