Skip to content

Commit

Permalink
feat!: Upgrade to libbinaryen v111 (#184)
Browse files Browse the repository at this point in the history
feat: Add arrayref, nullref, null_externref, and null_funcref types
feat: Add array, none, noext, and nofunc heap types
feat: Add operations on heap types
chore!: Remove typed_function_reference feature which was removed in Binaryen
feat!: Add memory64 flag to `Memory.set_memory`
chore: Update expected test output for nofunc
chore: Move alloc functions to ocaml_helpers and make non-static
chore: Rename stubs to co-locate closer to ml files in file list
feat: Add operations on struct types
feat: Add operations on array types
feat: Add operations on signature types
feat: Add multi_memories module feature
feat: Add new BinaryenOps
feat: Add is_64 check for memory
feat: Add new optimization passes
chore: Remove repeated binaryen in some ffi names
chore(ci): Light cleanup and action updates
chore(ci): Add concurrency groups
feat: Widen version range for js_of_ocaml
  • Loading branch information
phated committed Jul 4, 2023
1 parent 13d266b commit f1c9fd7
Show file tree
Hide file tree
Showing 109 changed files with 4,799 additions and 4,039 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/esy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
- push
- pull_request

# This will cancel previous runs when a branch or PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
name: Build and test
Expand All @@ -15,7 +20,7 @@ jobs:

steps:
- name: Setup node.js
uses: actions/setup-node@v3.5.1
uses: actions/setup-node@v3.6.0
with:
node-version: "16"
check-latest: true
Expand All @@ -28,7 +33,7 @@ jobs:
npm i -g shx
- name: Checkout project
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3
with:
submodules: "recursive"

Expand All @@ -38,7 +43,7 @@ jobs:
- name: Esy cache
id: esy-cache
uses: actions/cache@v3.0.11
uses: actions/cache@v3.3.1
with:
path: _export
key: ${{ runner.os }}-esy-${{ hashFiles('esy.lock/index.json') }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/opam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
- push
- pull_request

# This will cancel previous runs when a branch or PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
name: Build and test
Expand All @@ -16,7 +21,7 @@ jobs:

steps:
- name: Checkout project
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3
with:
submodules: "recursive"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: GoogleCloudPlatform/release-please-action@v3.6.1
- uses: google-github-actions/release-please-action@v3.7.10
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -36,7 +36,7 @@ jobs:
brew install git-archive-all
- name: Checkout code
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3
with:
submodules: "recursive"

Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup NodeJS
uses: actions/setup-node@v3.5.1
uses: actions/setup-node@v3.6.0
with:
node-version: "16"
registry-url: "https://registry.npmjs.org"
Expand Down
4 changes: 2 additions & 2 deletions binaryen.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ depends: [
"ocaml" {>= "4.12.0"}
"dune" {>= "3.0.0"}
"dune-configurator" {>= "3.0.0"}
"js_of_ocaml-compiler" {>= "4.1.0" < "5.0.0"}
"libbinaryen" {>= "110.0.0" < "111.0.0"}
"js_of_ocaml-compiler" {>= "4.1.0" < "6.0.0"}
"libbinaryen" {>= "111.0.0" < "112.0.0"}
]
Loading

0 comments on commit f1c9fd7

Please sign in to comment.