Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

add github-action #1

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
checks:
name: format & build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: System Info
run: |
uname -a
nix --version

- name: format
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.format

- name: rustc0
run: nix build -L --no-link --show-trace .#packages.x86_64-linux.rustc0

- name: r0vm
run: nix build -L --no-link --show-trace .#packages.x86_64-linux.r0vm