setup-ocaml@v2, sans test
This commit is contained in:
parent
abd5278719
commit
5e50900165
36
.github/workflows/blank.yml
vendored
36
.github/workflows/blank.yml
vendored
@ -1,5 +1,3 @@
|
|||||||
# This is a basic workflow to help you get started with Actions
|
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
@ -7,25 +5,29 @@ on:
|
|||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on
|
strategy:
|
||||||
runs-on: ubuntu-latest
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- macos-latest
|
||||||
|
- ubuntu-latest
|
||||||
|
- windows-latest
|
||||||
|
ocaml-compiler:
|
||||||
|
- 4.12.x
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
- name: Checkout code
|
||||||
- uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# Runs a single command using the runners shell
|
- name: Use OCaml ${{ matrix.ocaml-compiler }}
|
||||||
- name: Run a one-line script
|
uses: ocaml/setup-ocaml@v2
|
||||||
run: echo Hello, world!
|
with:
|
||||||
|
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||||
|
|
||||||
- name: Setu up OCaml
|
- run: opam install . --deps-only
|
||||||
uses: ocaml/setup-ocaml@v1.1.11
|
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
- run: opam exec -- dune build
|
||||||
- name: Run a multi-line script
|
|
||||||
run: dune build
|
|
||||||
|
Loading…
Reference in New Issue
Block a user