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

Commit

Permalink
ci: add template check
Browse files Browse the repository at this point in the history
  • Loading branch information
marijanp committed Jan 12, 2024
1 parent 452d354 commit 1ecc21c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,15 @@ jobs:
- name: r0vm
if: matrix.os == 'macos-latest'
run: nix build -L --no-link --show-trace .#packages.x86_64-darwin.r0vm

- name: template
if: matrix.os == 'ubuntu-latest'
run: |
git config --global init.defaultBranch main
./scripts/use-template.sh
- name: template
if: matrix.os == 'macos-latest'
run: |
git config --global init.defaultBranch main
./scripts/use-template.sh
11 changes: 11 additions & 0 deletions scripts/use-template.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

mkdir risc0-workspace
cd risc0-workspace

nix flake init -t github:cspr-rad/risc0pkgs

git init
git add -A

nix build .#risc0prover

0 comments on commit 1ecc21c

Please sign in to comment.