diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b3ce943 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: "CI" +on: + pull_request: + push: + branches: ["main"] +jobs: + build: + name: Build packages + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - system: x86_64-linux + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + + - run: nix --print-build-logs build .#packages.$SYSTEM.default" + env: + SYSTEM: ${{ matrix.system }}