dependabot[bot]
957ee4e634
ci: bump the actions group with 2 updates
...
Bumps the actions group with 2 updates: [actions/cache](https://github.com/actions/cache ) and [actions/setup-node](https://github.com/actions/setup-node ).
Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
Updates `actions/setup-node` from 4 to 6
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-16 22:42:58 +01:00
Amaan Qureshi
a91efd56f8
ci: cache npm packages for the web bindings
2026-02-09 22:52:13 -05:00
Amaan Qureshi
b1b0ef9238
ci: skip release build on PRs
2026-02-09 22:52:13 -05:00
Amaan Qureshi
ad2f2ae76d
ci: don't update msys2 packages
2026-02-09 22:52:13 -05:00
Amaan Qureshi
8b72e64c3c
ci: replace setup-emsdk action with manual install + actions/cache
2026-02-09 22:52:13 -05:00
Amaan Qureshi
68b6020e8e
ci: download pre-built wasmtime C API instead of compiling from source
...
ci: cache npm
2026-02-09 22:52:13 -05:00
Amaan Qureshi
4eefcef0fc
ci: only run wasm tests on linux x64 and mac arm64
2026-02-09 22:52:13 -05:00
dependabot[bot]
6967640571
ci: bump the actions group with 2 updates
...
Bumps the actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 22:26:50 +01:00
dependabot[bot]
5880df47e2
ci: bump actions/checkout from 5 to 6 in the actions group
...
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 22:41:27 +01:00
dependabot[bot]
605e580063
ci: bump the actions group across 1 directory with 3 updates
...
Bumps the actions group with 3 updates in the / directory: [actions/upload-artifact](https://github.com/actions/upload-artifact ), [actions/download-artifact](https://github.com/actions/download-artifact ) and [actions/setup-node](https://github.com/actions/setup-node ).
Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
Updates `actions/download-artifact` from 5 to 6
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6 )
Updates `actions/setup-node` from 5 to 6
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/download-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 09:23:50 +01:00
ObserverOfTime
bdee2c2dd3
ci: use macos-15-intel runner
...
The macos-13 runner will soon be removed.
2025-10-24 10:14:52 +02:00
Amaan Qureshi
c5b22a1dc6
ci: split cross compilation and emscripten tag read
2025-10-01 02:57:04 -04:00
Amaan Qureshi
92efd26380
fix(loader): allow parallel compilation on windows
2025-10-01 02:57:04 -04:00
ObserverOfTime
79ef484392
ci: cross-compile without cross-rs
2025-09-20 18:08:07 -04:00
Amaan Qureshi
d29132512b
ci: build wasm32
2025-09-17 04:57:49 -04:00
kilo52
d1160cb820
build(cmake)!: move CMakeLists.txt to the source root
2025-09-11 01:59:37 -04:00
Amaan Qureshi
595299a3c2
ci: remove separate step for generate fixtures
2025-09-04 04:22:32 -04:00
Amaan Qureshi
968d39328d
ci: switch to arm runner
2025-09-04 01:47:26 -04:00
Amaan Qureshi
0b836b2de0
ci: use armv7hf
2025-09-02 16:07:37 -04:00
Amaan Qureshi
151130a5df
ci: pass in matrix target to xtask commands
2025-09-02 16:07:37 -04:00
WillLillis
34ef1157a6
feat(ci): build libraries on windows x64 with mingw
2025-08-28 21:28:48 -04:00
dependabot[bot]
790dcc115f
ci: bump the actions group with 2 updates
...
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
Updates `actions/download-artifact` from 4 to 5
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 12:35:25 +02:00
Will Lillis
49ae48f7fe
fix(ci): ignore mismatched_lifetime_syntaxes lint when building wasmtime
2025-08-08 09:44:09 +02:00
Antonin Décimo
aa11c198af
ci: don't build the C library with MinGW
...
Only the C compiler is currently installed, without its binutils.
2025-07-14 11:02:19 +03:00
Will Lillis
1a2167b155
fix(ci): run generate crate unit tests
2025-07-06 17:05:21 -04:00
Max Brunsfeld
0fdf569571
Reorganize rust crates into a flat crates directory, simplify some CI steps ( #4496 )
...
* Move all rust crates (except lib) into crates dir, w/o nesting
* Remove stale path from .gitattributes
* Rename lib.rs files for easier navigation
* Rename mod.rs file for easier navigation
* Fix emscripten-version path
* Fix fixtures dir paths
* Use the default rustfmt settings
* Don't use nightly on CI
2025-06-06 14:25:37 -07:00
Simon Willshire
ee8d529552
fix(rust): use core crates for no_std
...
also add `no_std` build to CI
2025-03-25 14:30:32 +01:00
Antonin Décimo
f0571b1e33
feat: Windows support using MinGW-w64 ( #4201 )
...
CI / sanitize (push) Failing after 11s
CI / build (push) Failing after 14s
CI / checks (push) Has been cancelled
Building tree-sitter on Windows within a Cygwin or MSYS2 environment
for MinGW-w64 targets should work. As there's no configure-like step,
the tools have to be specified with:
make CC=x86_64-w64-mingw32-gcc \
AR=x86_64-w64-mingw32-ar \
STRIP=x86_64-w64-mingw32-strip
Useful reference:
[How to build and use DLLs on Windows](https://nullprogram.com/blog/2021/05/31/ )
This commit doesn't tag public functions with dllexport or
dllimport. This results in exporting non-static functions visible
between translation units, and generating slightly less efficient code
for calling exported functions from the DLL.
This commit doesn't include support to build libtree-sitter with MSVC or
clang-cl, but generates a libtree-sitter.lib file for MSVC/clang-cl
consumers.
2025-02-12 16:31:06 -08:00
Amaan Qureshi
8e79929cb8
ci: remove benchmark step
...
CI / checks (push) Waiting to run
CI / sanitize (push) Failing after 12s
CI / build (push) Failing after 14s
Deploy Docs / deploy-docs (push) Has been cancelled
We don't actually use this data, it runs without a purpose
2025-02-11 22:56:50 -05:00
Amaan Qureshi
0a33135483
ci: rename web files, and upload a tarball for web-tree-sitter assets
2025-02-11 22:56:50 -05:00
Amaan Qureshi
ac8a4ba80e
ci: use ubuntu-22.04 for x64 builds
CI / checks (push) Waiting to run
CI / sanitize (push) Failing after 11s
CI / build (push) Failing after 14s
2025-02-01 14:27:58 -05:00
Amaan Qureshi
aa900bf6ed
ci: go back to emulating linux arm64
...
These runners segfault when running basic rustc commands, we're not
using these till GH gets it together.
2025-01-25 03:20:43 -05:00
Amaan Qureshi
a4b20c1c56
feat: publish both CJS and ESM files
...
This way, users can pick whichever one works for their needs
2025-01-21 12:36:15 -05:00
Amaan Qureshi
a633a06bb4
ci: add arm ubuntu runner, & use latest runners
CI / checks (push) Waiting to run
CI / sanitize (push) Failing after 12s
CI / build (push) Failing after 14s
2025-01-19 22:13:09 -05:00
Amaan Qureshi
490f79bca2
ci: don't install cross if it already exists
CI / sanitize (push) Failing after 14s
CI / build (push) Failing after 16s
CI / checks (push) Has been cancelled
2024-12-29 00:54:16 -05:00
Will Lillis
c7b218838d
fix: minor issues with CI
...
* update ctor
* pass empty `RUSTFLAGS` when installing cross, overriding
the default `-D warnings`
* fix some clippy lints
* create `target` directory before curling wasmtime lib
2024-12-03 16:41:38 -05:00
ObserverOfTime
60c5057617
ci: build lib with wasmtime
CI / checks (push) Waiting to run
CI / sanitize (push) Failing after 12s
CI / build (push) Failing after 12s
2024-10-19 02:57:08 +00:00
ObserverOfTime
e8e56255bd
ci: major overhaul
...
- Simplify some workflow steps and auxiliary scripts
- Build library using cmake when not cross-compiling
- Try to fetch fixtures from cache first
- Use `actions-rust-lang/setup-rust-toolchain`
2024-10-11 18:33:07 -04:00
Amaan Qureshi
dbe8bbf480
feat: move scripts to xtasks
2024-10-08 21:07:41 -04:00
ObserverOfTime
055d0cbd34
feat(dsl)!: support other JS runtimes
2024-05-24 16:53:33 -04:00
ObserverOfTime
572cdaa7c0
ci: fix address sanitizer step
2024-05-05 13:06:45 -04:00
dundargoc
a1c39d4760
ci: simplify workflows
2024-03-16 19:54:54 -04:00
dundargoc
d4067a6ae6
ci: cache fixtures
...
Only generate fixtures if any grammar from any parser or the parser
generation itself has changed.
2024-02-18 23:08:24 +01:00
Amaan Qureshi
0afa891ffc
ci: use the native m1 mac runner
2024-02-11 01:59:56 -05:00
dundargoc
77d7843b7b
ci: remove minimum glibc information in summary page
...
It clutters up the page with unnecessary information. This information
can be provided as release notes or another form if needed.
2024-02-10 18:50:12 +01:00
dundargoc
c3ab70cc98
ci: rework release strategy
...
Switch the release trigger from PR to a git tag. In practice this would
mean tagging a commit in master branch and pushing it with
`git push --tags`.
The benefit of this is that tagging is already an event that is reserved
for maintainers, so we can remove the need for verifying whether the
event was done by a maintainer.
We also no longer need to keep track of the tag. Previously the trigger
was a PR which has a different ref from the tag, so manual bookkeeping
was required to ensure github used the tag reference instead of the PR
reference. Having the tagging itself be the trigger removes this need
entirely as the default checkout will already use the tag as reference.
2024-02-06 14:48:50 +01:00
dundargoc
9d8e31bf9f
ci: add timeout to build.yml
...
This will abort the run early if it gets caught in an infinite loop
during testing.
2024-02-05 23:19:36 +01:00
dundargoc
7b0b2464cd
ci: remove workflow_dispatch from build.yml
...
The cases where you'd need to manually run tests with specific
parameters should be rare.
2024-02-05 20:15:56 +01:00
dundargoc
fdd0e21041
ci: add caching to build.yml
2024-02-05 00:52:18 +01:00
Amaan Qureshi
dd2dc236c4
Merge pull request #2909 from tree-sitter/dependabot/github_actions/mymindstorm/setup-emsdk-14
...
ci: bump mymindstorm/setup-emsdk from 12 to 14
2024-02-04 13:24:03 -05:00