Skip to content

Commit

Permalink
Merge pull request #11 from daspk04/11-ci-github-workflow
Browse files Browse the repository at this point in the history
[CI] Add CI workflow configuration

closes #11
  • Loading branch information
daspk04 authored Jul 30, 2024
2 parents 8fef3d5 + f239e73 commit 120bfb5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
pull_request:
push:
branches: [main]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
machine:
- host: amd64
platform: x86_64-linux
- host: arm64
platform: aarch64-linux
steps:
- uses: actions/checkout@v4
- if: matrix.machine.platform == 'aarch64-linux'
uses: docker/setup-qemu-action@v3
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
fallback = true
http-connections = 128
max-substitution-jobs = 128
extra-platforms = aarch64-linux
- name: Build system
run: |
nix build --system ${{ matrix.machine.platform }} .

0 comments on commit 120bfb5

Please sign in to comment.