Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana committed Oct 5, 2023
1 parent 6294c99 commit 0d354ba
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 50 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Install Nix
uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
install_url: https://releases.nixos.org/nix/nix-2.16/install
extra_nix_config: |
extra-trusted-public-keys = "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
extra-substituters = "https://cache.iog.io"
experimental-features = nix-command flakes
- name: Build Nix Shell
run: |
nix build .#devShells.x86_64-linux.default
- name: Build Marlowe Vesting (with Nix)
run: |
nix build .#marlowe-vesting
- name: Build Marlowe Vesting (inside nix develop)
run: |
nix develop --command bash -c 'npm install && npm run build'
50 changes: 0 additions & 50 deletions .github/workflows/deploy.yml

This file was deleted.

0 comments on commit 0d354ba

Please sign in to comment.