Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Aug 26, 2024
1 parent 5d162ed commit 788b2bd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and test aslp-web

on:
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
strategy:
matrix:
browser: [ electron, chrome, firefox ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- run: nix build .

- uses: cypress-io/github-action@v6
with:
start: "python3 -m http.server -d result/lib/ocaml/5.1.1/site-lib/aslp_web 10000"
browser: ${{ matrix.browser }}

0 comments on commit 788b2bd

Please sign in to comment.