-
Notifications
You must be signed in to change notification settings - Fork 9
Get wasm_of_ocaml up-to-date with js_of_ocaml by merging js_of_ocaml master
#86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
356 commits
Select commit
Hold shift + click to select a range
645728d
Compiler: js-parser, improve arrow support
hhugo 9b6572e
Compiler: js-parser: improve lexing errors
hhugo a2d3ca8
Tests: improve js-parser testing script
hhugo 2a5738f
Compiler: small dedup in menhir parser
hhugo fa32222
Compiler: js-parser: fix yield*
hhugo ce17958
Compiler: js-parser: fix class member printing
hhugo 1fbda4e
Compiler: js-parser: fix array binding pattern
hhugo 49d89b1
Tests: better js-parser testing tool
hhugo 575df01
Compiler: js-parser: fix default export of function
hhugo b29a1e4
Compiler: js-parser: tune printing of ECallTemplate
hhugo fb7d06a
Compiler: js-parser: fix output of async arrow
hhugo de3b21f
Compiler: js-parser: fix output of yield
hhugo 04ac543
Compiler: js-parser: missing semi for debugger
hhugo b2545b5
fixup! Compiler: js-parser: fix default export of function
hhugo ec02751
Tests: switch tests-full to 5.1.1
hhugo b1e5761
Misc: dedicated alias for testing the js-parser
hhugo 7356498
Compiler: js-parser, support ?.#privateName
hhugo 3241e86
Compiler: js-parser, support #privateName
hhugo 8549bba
Changes
hhugo 69853f3
Compiler: js-parser, fix printer for class-expr
hhugo 4a92bc7
Compiler: js-parser, fix pringing for empty elt in array lit
hhugo 2581a85
Compiler: js-parser, allow optional semi at the end of export default…
hhugo 1e426a1
fmt
hhugo 7c7a7df
Compiler: js-parser: refactor yield
hhugo b3c5a32
Compiler: js-parser: preserve consise body
hhugo cdbe29b
Compiler: js-parser: fix lexing for escaped quotes
hhugo 2a6a205
Compiler: js-parser: parse with statement
hhugo dcf3567
Compiler: js-parser: tune parens in js output
hhugo a4e5506
Compiler: js-parser: restrict for in
hhugo 67f3982
Tests: fix test script
hhugo a2d3b4f
Runtime: fix for num 1.5
hhugo b9c9a4b
5.6.0
hhugo 4921bb0
Misc: opam constraint
hhugo d808dfa
Compiler: fix stack for ocaml 5.2
hhugo 61ea819
Runtime: support for blake2b
hhugo aa5f875
Runtime: xdg_default
hhugo 9f3fa5f
Runtime: caml_ml_is_binary_mode
hhugo db4a859
Mics: compat
hhugo 0965d78
Changes
hhugo 792610b
Compiler: fix for let/const inside try-catch block
hhugo e461964
Compiler: handle more errors in js_assign
hhugo 9077bf9
Compiler: small cleanup
hhugo 301d035
Compiler: no longer rely on iife
hhugo 2c4cbad
CI: fix OCaml version on windows
hhugo f4fb4d6
fixup! Compiler: no longer rely on iife
hhugo 274387c
Compiler: less agressive flushing for function
hhugo 6aa01f1
Changes
hhugo dac23c8
typo
hhugo a22a811
Compiler: no longer need to copy Ident.tbl
hhugo 679bb51
added 'ellipse' method to canvasRenderingContext2D (#1555)
FayCarsons 82ca673
Test: expose global DCE issue with the toplevel
hhugo 23ea21f
Compiler: fix toplevel with globaldeacode
hhugo afdb5f3
Compiler: fix for 12599
hhugo c4052f9
Tests: Explicitly void unused c variable (#1560)
rickyvetter b59395e
Compiler: fix scope of fun/class inside blocks
hhugo d529fd7
Compiler: accept test
hhugo 8f21eee
Compiler: add failing test
hhugo 9f5a4d3
disable loop shrinking
hhugo 83d9005
Compiler: preserve scopes of closures inside loops.
hhugo 0aaec26
Changes
hhugo b345c53
Compiler: fix for 5.2~alpha1
hhugo b7d2959
Runtime: adapt runtime for 5.2
hhugo 6ad66f2
Misc: fix version
hhugo 323bd40
Misc: cleanup doc
hhugo cc74d94
Compiler: better function deps
hhugo 1a03661
Compiler: small cleanup
hhugo 2a7adc6
Bump version
hhugo 517cd28
Compiler: don't accept closure inside loops if not needed
hhugo f73b7ef
Revert "Compiler: better function deps"
hhugo 9b51527
Compiler: cleanup optimisation performed at the wrong stage
hhugo 515ff3c
Compiler: cleanup invalid access_queue
hhugo af34d16
Tests: add test for compact option
hhugo b7c5ba4
Compiler: remove quadratic behavior in enqueue
hhugo 8f34006
Changes
hhugo cff282b
Compiler: only flush the necessary env for closure (#1568)
hhugo 273f6b5
Compiler: fix compact vardecl (#1571)
hhugo 020632c
Lib: Dialog element support (#1257)
sagotch 4c745f5
Runtime: Fix runtime for gc (#1572)
hhugo c2dae87
Compiler: remove some polymorphic compare (#1574)
hhugo dd7226b
Lib: fix paragraph construction and coercion
gpetiot 123504b
Compiler: dedicated type for "special" values (#1573)
hhugo 46ef5fa
Compiler: remove last argument of Pushtrap (#1575)
hhugo e269769
Compiler: fix parallel renaming (#1580)
hhugo 7c886d2
Runtime: reduce memory leak caused by channels (#1581)
hhugo eb987e0
Changes
hhugo 03e365d
Misc: cleanup comments
hhugo 3e11567
Compiler: cleanup some code
hhugo 96ebeba
Compiler: use assignment instead of var declaration for back edges
hhugo 30ce262
Compiler: use consise body in arrow when es6 is enabled
hhugo 13ba8ab
Compiler: improve Offset_ref when n < 0
hhugo be5957a
Compiler: doc/comment
hhugo aa023ab
Changes
hhugo f3f2bfa
Compiler: more js simplification
hhugo 4cd5c6c
Compiler: experiment with more es6 features
hhugo 359dea2
Compiler: specialize string equality with js_srting
hhugo a28514e
Compiler: specialize int_add int_sub
hhugo f048312
Compiler: recognize and optimize String.concat
hhugo d2cf189
Doc: Fix option name for global dead code elimination (#1587)
cbd50de
Compiler: Fix renaming for object partterns and assignment targets (#…
hhugo 4db2d9d
Compiler: More aggressive inlining
vouillon c248337
Runtime: abort instead of exit on unimplemented js primitives
hhugo 28743ee
Runtime: use caml_fatal_error instead of abort
hhugo 8dd7d54
Runtime: missing primitives for OCaml 5.2
hhugo 1627b71
Bump version
hhugo 5e299b8
Compiler: better abstraction for Flow
hhugo f8e93b8
Compiler: fix toplevel compilation with separate compilation mode
hhugo 14a9954
Misc: refactor version handling (#1598)
hhugo 7ca0c83
Toplevel: add test_lib_jsoo library as an example of loading precompi…
hhugo 675dcca
Compiler: Make it possible to link runtime JavaScript file together w…
vouillon bb97e26
Changes
hhugo a2640f3
Runtime: re-support marshaling floats
hhugo 5a27041
Doc
hhugo 659945d
Changes
hhugo 68c15f5
Tests: add repro for 1599
hhugo 508c51a
Compiler: fix stack compatibility check (instroduced in #1523)
hhugo 4f4b291
Tests: accept diff
hhugo b734348
Runtime: New api for channels (#1602)
hhugo f86814f
Compiler: track block mutability (#1603)
hhugo 1c43da9
Bump version
hhugo 81809da
README: Ocaml -> OCaml (#1605)
edwinans 89417c9
Misc: fix typo in month name (#1606)
KevinBoyette 20364ae
Update GitHub Actions workflow
smorimoto bfbeb69
Use Dependabot to update GitHub Actions
smorimoto 1331b93
Lib: Add Typed_array.Bytes module (#1609)
johnridesabike 7231138
CI: partial revert of recent changes
hhugo bd7b065
Misc: dune fmt
hhugo ba64258
CI: opam-lint, continue on error
hhugo c5bb1e4
Compiler: remove deprecated cmdline runtime-only flag
hhugo 68a6dc0
Toplevel: remove some explicit runtime files for toplevels
hhugo 3fcdfb2
Compiler: small refactoring
hhugo eb1d001
Compiler: refactoring
hhugo 80b9f47
Compiler: refactoring
hhugo 3d09f2b
Compiler: refactoring
hhugo 1242b31
Compiler: new include-partial-runtime flag
hhugo a2275df
refactoring
hhugo f4d64b6
Bump 5.8.1
hhugo 88b0554
Fix: Compiler: Fix renaming for object partterns and assignment targe…
hhugo 519dc5c
Bump version
hhugo cf0b7ad
TMP: fix CI
hhugo ccd0dd4
Misc: no longer need to control lf on windows with ocaml 5.2
hhugo 837f291
Misc: promote to 5.2
hhugo 51c544b
Misc: github action uses OCaml.5.2
hhugo 87d3f6b
Misc: bump ocamlformat
hhugo e80d121
Misc: disable some test on older ocaml
hhugo 51baa98
Misc: disable some test on older ocaml
hhugo c80c782
Misc: bump opam contraint
hhugo 2b5571c
Revert "TMP: fix CI"
hhugo 9faf228
Compiler: speedup compiler on large bytecode (#1614)
hhugo e1132d2
Runtime: os_type: Cygwin -> Win32
hhugo 1229490
Compiler: fix compilation with trunk (#1627)
hhugo 92791fc
Misc: switch to opam 2.2 (#1616)
hhugo 999bf16
Fix the CI (#1629)
hhugo 9375a62
Runtime: fix #1630
hhugo 390e6a2
Compiler: fix toplevel
hhugo 4a65d4b
Toplevel: fix missing cmi in separate compilation mode
hhugo 920d9bb
Changes
hhugo ab83bc0
Misc: typo
hhugo d67ac1b
Bump ocaml/setup-ocaml from 3.0.0.pre.beta to 3.0.0.pre.beta1 (#1635)
dependabot[bot] a03f32c
Update ocaml/setup-ocaml to v3 (#1636)
smorimoto ad1514f
Runtime: record backtraces should be explicit
hhugo 467366e
Changes
hhugo 51cce06
Misc: yojson is no longer optional
hhugo 0f5949c
Test: demonstrace gh#1641
hhugo 53f4db0
Compiler: fix link of packed modules
hhugo ccdb2ac
Change
hhugo 4bf1952
Misc: more linting
hhugo c1d5dfd
Compiler: mark TextEncoder as reserved
hhugo f8fca75
Compiler: compact indirect call
hhugo 21c3c07
Changes
hhugo 7221b9c
Update CHANGES.md
hhugo 3a082a7
Tests: Test marshalling compression only when enabled (#1651)
OlivierNicole 3204c33
Lib: Dom_html.html_entities: move error handling to the ML side (#1653)
OlivierNicole c484610
Compiler: Build_info/Unit_info: conversion to and from string maps (#…
OlivierNicole 285902b
Compiler: Effects: keep track of CPS calls (#1648)
OlivierNicole 5cbf0b1
Compiler: speedup json parsing, relying on Yojson.Raw (#1640)
hhugo f014914
Tests: Make the tests for uncaught exceptions more portable (#1652)
OlivierNicole 3881e6a
Bump tarides/changelog-check-action from 2 to 3 (#1661)
dependabot[bot] 9c8913a
Compiler: explicit initialization of builtin prims (#1662)
OlivierNicole b35f5c0
Generate: export source_location
vouillon cd05d66
Code: additional fold functions
vouillon afbe5ae
Stdlib additions
vouillon 41020be
Fs: additional functions
vouillon 2f98d17
Expose some functions from Freevars
vouillon c58a528
Runtime: implement Json output for Wasm (#1660)
OlivierNicole 9602504
Compiler: Document non-trivial function Code.constant_equal, and fix …
OlivierNicole 39a6f9b
Compiler: Remove unnecessary export (#1663)
OlivierNicole ea2eeb3
Update README.md
hhugo 814035b
remove outdated optional deps from README
hhugo e51d534
Ocaml_compiler: fix float array constants
vouillon 1971177
Examples: fix missing float conversions
vouillon 732cb95
Distinguish the different kind of integers
vouillon c5594b1
Distinguish float arrays
vouillon 613cbcc
Distinguish float field accesses in the Code IR
OlivierNicole c957bfb
Compiler: Decode sourcemap mappings only when necessary (#1664)
OlivierNicole 7172abc
Runtime: fix parsing of unsigned int64 (#1666)
hhugo 33d2736
Changes
hhugo b2f3bae
Runtime: fix incorrect pos_in after unmarshall
hhugo 886855c
Compiler: Take into account block mutability in flow analysis (#1670)
vouillon 818dcd6
Lib: Update typing of typed arrays to support Wasm, and test Typed_ar…
OlivierNicole c76f8cc
Runtime: use `Array.isArray()` instead of `instanceof Array` (#1671)
smorimoto f70eabd
Add Config.target
vouillon f432a86
JavaScript linker: make it easier to add flags
vouillon ea51f5e
JavaScript linker: add 'wasm' flag
vouillon 5a78e24
runtime: run code checks with biome in ci
smorimoto c25feb8
Update .git-blame-ignore-revs
smorimoto 693fa62
Misc: update .git-blame-ignore-revs for biome
hhugo 4efc86c
Runtime: allow dynlink of precompiled js with separate compilation (#…
hhugo 49ab55a
Runtime: small refactoring in parsing.js (#1677)
hhugo 7b9750c
Misc: improve toplevel_expect_test selection
hhugo e3429e5
Runtime: add support for OCaml 5.3
hhugo dbcf6a2
Misc: OCaml 5.3 support
hhugo d6a7aba
Compiler: Fix global flow analysis (#1680)
vouillon 2122ab7
Init
smorimoto 4023cde
runtime: fix noExtraBooleanCast
smorimoto f553d4c
runtime: fix useLiteralKeys
smorimoto 9e211d3
runtime: fix noGlobalIsFinite
smorimoto 168557b
runtime: fix noGlobalIsNan
smorimoto ba2f964
runtime: fix noRedundantUseStrict
smorimoto fd80886
runtime: fix noUselessEscapeInRegex
smorimoto 59d865a
runtime: fix useNumberNamespace
smorimoto 472b15e
runtime: fix useWhile
smorimoto 6f2a751
Bug fix
vouillon cdc9329
Fix debug output
vouillon 0a53455
Omit unused function arguments
vouillon e832b69
Omit some useless return statements
vouillon eb5ba0e
Use 0 rather than undefined as a dummy value
vouillon 20c9f74
Make the domain private
vouillon 7ea5f5b
Simply use a list to store where a variable is used
vouillon d707ad9
Improved data-flow solver
vouillon a3b0826
Store dependencies more efficiently
vouillon c3284e3
Compute a more precise liveness information to account for nested mod…
vouillon 656e7d7
Take into account the code liveness
vouillon c683b91
Remove code which is no longer used
vouillon 39ee469
Changelog
vouillon dae1e55
runtime: fix useNodejsImportProtocol
smorimoto 29ed7cc
Misc: update biome rules
hhugo 21392ad
Runtime: remove deadcode, duplicated cases
hhugo 060424c
Misc: lint comment
hhugo 177e2a0
Runtime: remove useless switch case
hhugo 2a9d19c
Runtime: fix unlink logic on file not found (#1690)
hhugo 30d4cd4
Compiler: nativeInt is always 32bit
hhugo 6226949
Target-specific code (#1655)
OlivierNicole bd764f9
Runtime: default case come last
hhugo 3e3bf3e
Merge remote-tracking branch 'jsoo/master' into jsoo-merge
OlivierNicole a6eefa0
Add Int31.of_int32_truncate
OlivierNicole 00c87cb
Add some Source_map functions
OlivierNicole b886536
Remove special Undefined
OlivierNicole d3faed0
CI fixes
OlivierNicole af6384d
Fix compilation of the Wasm runtime under Windows.
vouillon a54ca81
Fix parsing test
vouillon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| end_of_line = lf | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,6 @@ | ||
| # ocamlformat bump | ||
| 3c98cd3e0c4e1191983b602a8e38a1c92d259891 | ||
| 3c98cd3e0c4e1191983b602a8e38a1c92d259891 | ||
| # Upgrade to OCamlformat 0.26.0 | ||
| 7de742a776fcdad4b098695617b9e7afab822c82 | ||
| # Biome | ||
| 5a78e2466221c91fc3607be5b6549797551de4d1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,6 @@ | ||
| *.ml linguist-language=OCaml | ||
| *.mli linguist-language=OCaml | ||
|
|
||
| # We are pinning wasm_of_ocaml using this file in the CI. This would | ||
| # fail on Windows otherwise. | ||
| VERSION -text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: weekly | ||
| labels: | ||
| - dependencies | ||
| - no changelog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,183 @@ | ||
| name: build | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - master | ||
| schedule: | ||
| # Prime the caches every Monday | ||
| - cron: 0 1 * * MON | ||
|
|
||
| jobs: | ||
| build: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: | ||
| - ubuntu-latest | ||
| ocaml-compiler: | ||
| - "4.08" | ||
| - "4.09" | ||
| - "4.10" | ||
| - "4.11" | ||
| - "4.12" | ||
| - "4.13" | ||
| - "5.0" | ||
| - "5.1" | ||
| skip-test: | ||
| - true | ||
| skip-doc: | ||
| - true | ||
| skip-effects: | ||
| - true | ||
| include: | ||
| - os: ubuntu-latest | ||
| ocaml-compiler: "4.14" | ||
| skip-effects: true | ||
| skip-test: false | ||
| skip-doc: true | ||
| - os: macos-latest | ||
| ocaml-compiler: "4.14" | ||
| skip-effects: true | ||
| skip-test: false | ||
| skip-doc: true | ||
| - os: windows-latest | ||
| ocaml-compiler: "4.14" | ||
| skip-effects: true | ||
| skip-test: false | ||
| skip-doc: true | ||
| - os: ubuntu-latest | ||
| ocaml-compiler: "5.2" | ||
| skip-effects: false | ||
| skip-test: false | ||
| skip-doc: false | ||
| - os: macos-latest | ||
| ocaml-compiler: "5.2" | ||
| skip-effects: true | ||
| skip-test: false | ||
| skip-doc: true | ||
| - os: windows-latest | ||
| ocaml-compiler: "5.2" | ||
| skip-effects: false | ||
| skip-test: false | ||
| skip-doc: true | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| steps: | ||
| - name: Set git to use LF | ||
| if: matrix.ocaml-compiler < 5.2 | ||
| run: | | ||
| git config --global core.autocrlf false | ||
| git config --global core.eol lf | ||
| git config --global core.ignorecase false | ||
|
|
||
| - name: Checkout tree | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set-up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: lts/* | ||
|
|
||
| - name: Set-up OCaml ${{ matrix.ocaml-compiler }} | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: ${{ matrix.ocaml-compiler }} | ||
| dune-cache: true | ||
| opam-pin: false | ||
|
|
||
| - name: Pin dune | ||
| run: | | ||
| opam pin add dune.3.17 https://github.com/ocaml-wasm/dune.git#wasm_of_ocaml | ||
|
|
||
| - run: opam install conf-pkg-config | ||
| if: runner.os == 'Windows' | ||
|
|
||
| - run: opam install . --best-effort | ||
| if: ${{ matrix.skip-test }} | ||
|
|
||
| - run: cat VERSION | xargs opam pin wasm_of_ocaml-compiler . -n --with-version | ||
| if: ${{ !matrix.skip-test }} | ||
| shell: bash | ||
|
|
||
| - run: opam install conf-c++ | ||
| # Otherwise, the next step fails reinstalling gcc while compiling | ||
| # other packages | ||
| if: ${{ !matrix.skip-test && runner.os == 'Windows' }} | ||
|
|
||
| - run: opam install . --with-test --deps-only | ||
| # Install the test dependencies | ||
| if: ${{ !matrix.skip-test }} | ||
|
|
||
| - run: opam install . | ||
| # Install the packages (without running the tests) | ||
| if: ${{ !matrix.skip-test }} | ||
|
|
||
| - run: opam exec -- make all | ||
| if: ${{ !matrix.skip-test }} | ||
|
|
||
| - run: opam exec -- make tests | ||
| if: ${{ !matrix.skip-test }} | ||
|
|
||
| - run: opam exec -- dune build @all @runtest --profile using-effects | ||
| if: ${{ !matrix.skip-effects }} | ||
|
|
||
| - run: opam exec -- git diff --exit-code | ||
| if: ${{ !matrix.skip-test }} | ||
|
|
||
| - name: build doc | ||
| if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'master'}} | ||
| run: | | ||
| opam install odoc lwt_log cohttp-lwt-unix yojson ocp-indent graphics higlo | ||
| opam exec -- make doc | ||
|
|
||
| - name: synchronize doc | ||
| if: ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'master' }} | ||
| uses: JamesIves/github-pages-deploy-action@v4 | ||
| with: | ||
| branch: wikidoc | ||
| folder: doc-dev | ||
| clean: true | ||
| target-folder: doc/dev/ | ||
|
|
||
| lint-opam: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout tree | ||
| uses: actions/checkout@v4 | ||
| - name: Set-up OCaml | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: "5.2" | ||
| dune-cache: true | ||
| - name: Pin dune | ||
| run: | | ||
| opam pin add -n dune.3.17 https://github.com/ocaml-wasm/dune.git#wasm_of_ocaml | ||
| - uses: ocaml/setup-ocaml/lint-opam@v3 | ||
|
|
||
| lint-fmt: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout tree | ||
| uses: actions/checkout@v4 | ||
| - name: Set-up OCaml | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: "5.2" | ||
| dune-cache: true | ||
| - name: Pin dune | ||
| run: | | ||
| opam pin add -n dune.3.17 https://github.com/ocaml-wasm/dune.git#wasm_of_ocaml | ||
| - uses: ocaml/setup-ocaml/lint-fmt@v3 | ||
|
|
||
| lint-runtime: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout tree | ||
| uses: actions/checkout@v4 | ||
| - name: Set-up Biome | ||
| uses: biomejs/setup-biome@v2 | ||
| - name: Run biome | ||
| run: biome ci | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| name: Check changelog | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| types: | ||
| - labeled | ||
| - opened | ||
| - reopened | ||
| - synchronize | ||
| - unlabeled | ||
|
|
||
| jobs: | ||
| check-changelog: | ||
| name: Check changelog | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check changelog | ||
| uses: tarides/changelog-check-action@v3 |
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.