Skip to content

Commit

Permalink
Merge branch 'master' of github.com:melange-community/melange-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Sep 27, 2023
2 parents efcca68 + 9b458c8 commit 4fb77ba
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- main
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/opam.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on:
pull_request:
push:
branches:
- master
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON

jobs:
build-sample-project:
name: Build and test project
strategy:
matrix:
system:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- 5.1.x

fail-fast: false
runs-on: ${{ matrix.system }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: current

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-depext: false

- name: Install all deps
run: opam install -y . --deps-only

- name: Build everything
run: opam exec dune build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
_build
/_opam/

0 comments on commit 4fb77ba

Please sign in to comment.