Skip to content

Use a single linear memory #4066

Use a single linear memory

Use a single linear memory #4066

Workflow file for this run

name: lint
on:
pull_request:
push:
branches:
- master
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint-opam:
runs-on: ubuntu-latest
steps:
- name: Update apt cache
run: sudo apt-get update
- name: Checkout tree
uses: actions/checkout@v7
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.5"
- name: Set-up Binaryen
uses: Aandreba/setup-binaryen@v1.0.0
with:
token: ${{ github.token }}
- run: sh tools/make_opam_dune_lint_dir.sh
- uses: ocaml/setup-ocaml/lint-opam@v3
lint-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v7
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.5"
- uses: ocaml/setup-ocaml/lint-fmt@v3
lint-runtime:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v7
- name: Set-up Biome
uses: biomejs/setup-biome@v2
with:
version: 2.4.8
- name: Run biome
run: biome ci
lint-wax:
runs-on: ubuntu-latest
steps:
- name: Update apt cache
run: sudo apt-get update
- name: Checkout tree
uses: actions/checkout@v7
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.5"
- name: Install wax
run: |
opam pin add --yes wax-lib https://github.com/vouillon/wax.git
opam pin add --yes wax https://github.com/vouillon/wax.git
- name: Convert Wasm runtime files to wax
run: opam exec -- ./tools/wat2wax.sh