Olivier Goffart
c274c046a0
CI: Improve granularity
...
Some more jobs can be excluded for changes in the top level directory.
Also some examples can be excluded from the normal examples
2025-12-10 17:01:23 +01:00
Simon Hausmann
c91ce5acef
CI: Manually set the repo url for npm binary sub-packages
2025-12-10 16:57:20 +01:00
Simon Hausmann
9956a80489
CI: pnpm publishing fix 14034231
...
pnpm is fussy and doens't like a pair of quotes
2025-12-10 16:21:06 +01:00
Simon Hausmann
c56f459dea
CI: Pnpm publishing fix 14034230
...
npm is picky and wants a https url.
2025-12-10 15:31:04 +01:00
Simon Hausmann
b4c4a25823
CI: Fix yaml syntax
...
(oops!)
2025-12-10 14:57:38 +01:00
Simon Hausmann
a42de1bf2d
CI: Prospective fix for npm publishing
2025-12-10 14:47:59 +01:00
Simon Hausmann
10ba0776ec
CI: Prospective fix for npm publishing
...
Make sure the binary packages also have the correct repository.url
2025-12-10 12:58:58 +01:00
Simon Hausmann
48d481aa6e
CI: Upgrade npm to a version that supports trusted publishing
2025-12-10 11:31:06 +01:00
Simon Hausmann
00f8aa2c0e
CI: Remove token based npm publishing
2025-12-10 09:14:29 +01:00
Simon Hausmann
076100109e
CI: Add permission to npm publishing required for trusted publishing
2025-12-10 08:49:43 +01:00
dependabot[bot]
6e67a4ef72
build(deps): bump actions/download-artifact in the github-actions group ( #10224 )
2025-12-08 09:22:34 +02:00
Simon Hausmann
1f8ef6046e
CI: Restore intel binaries for the tools and the VS code extension's lsp build
...
Fixes #10190
2025-12-03 11:55:36 +01:00
Simon Hausmann
33eb83316a
CI: Fix typo
2025-12-03 06:39:48 +01:00
Simon Hausmann
a61fe11b71
CI: Prospective fix for 1.88 build_and_test crashing in the CI on Linux
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
Swap 1.88 and nightly between Linux and Windows
2025-12-02 16:47:34 +01:00
Simon Hausmann
2da1b1a601
Fix for —all-features build
...
Slint-Compiler will enable the dlopen feature, which must be also
conveyed to other consumers so that they can expect that API. One such
consumer is font-kit through the plotters example. We can't influence
the feature flags of that, so let's exclude the plotters build on Linux
for now.
2025-12-02 16:02:21 +01:00
Simon Hausmann
d903afecef
Python: Fix tests in the CI having difficulties connecting to Xvfb
...
Instead of connecting to the X server, let's run the Python tests with the testing backend, like we do for test-driver-rust, test-driver-cpp, etc.
When building the Python package, pass --features backend-testing to Cargo, to forward to enabling the backend-testing feature in i-slint-backend-selector. That consequently enables SLINT_BACKEND=testing.
2025-11-30 10:02:36 +01:00
burhankhanzada
bd1b7a0d94
ci: re-enable ubuntu build
2025-11-26 15:38:03 +01:00
Simon Hausmann
16a96399b5
Python: Unpin ty type checker version
...
Match the name of the argument to please the type checker.
2025-11-26 11:30:10 +01:00
Simon Hausmann
15ff153c1e
CI: Add comment about why the version is pinned
2025-11-26 10:17:19 +01:00
Simon Hausmann
5e72094985
Python: Fix failing type check after new ty release
...
Pin to the previous version. See https://github.com/astral-sh/ty/issues/1644 for upstream report.
2025-11-26 10:14:38 +01:00
Simon Hausmann
813c987d85
CI: Use Ubuntu's arm gcc
...
Work around https://github.com/carlosperate/arm-none-eabi-gcc-action/issues/74
2025-11-26 08:59:57 +01:00
Olivier Goffart
01076a67a7
Update parley and fontique ( #10148 )
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
2025-11-25 14:31:29 +01:00
Olivier Goffart
cfdb39a808
Revert "Update parley and fontique" and related
...
autofix.ci / ci (push) Blocked by required conditions
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
This reverts commit e15b5e1e75 .
This reverts commit 584685b990 .
This reverts commit 7e46ffa8ce .
This was bushed too realy and brak CI
2025-11-24 16:37:05 +01:00
Olivier Goffart
e15b5e1e75
Prospective CI fix
2025-11-24 16:24:40 +01:00
Olivier Goffart
584685b990
Fix CI after fontique update
2025-11-24 16:13:59 +01:00
dependabot[bot]
a5edad54ea
build(deps): bump actions/checkout in the github-actions group ( #10141 )
...
Bumps the github-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: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 09:46:23 +02:00
Olivier Goffart
033167c960
Use the nightly feature non_exhaustive_omitted_patterns
...
autofix.ci / ci (push) Blocked by required conditions
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
So that we get warnings when non_exhaustive enums get new fields.
This is tested in our CI (in the documentation job because it uses
nightly rust)
2025-11-21 20:37:32 +01:00
Andreas Monitzer
c7e1b9ee90
Documentation for Mobile Development ( #10117 )
...
In the guide, grouped mobile platforms into their own category, added a general page that explains developing for all mobile platforms, added documentation for getting started with Android.
2025-11-21 08:41:46 +01:00
Simon Hausmann
1e51818907
Python: Trim unnecessary dependencies from test-driver-python ( #10127 )
...
* Python: Trim unnecessary dependencies from test-driver-python
* Python: re-run tests when the tests or driver changes
2025-11-21 06:50:14 +01:00
Simon Hausmann
26cdbce70d
Python: don’t use the CI cache of the nodejs build
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
2025-11-20 22:43:03 +01:00
Simon Hausmann
9257fd2a95
Python: Don’t install Qt
...
Our binaries also don't use Qt
2025-11-20 22:18:57 +01:00
Simon Hausmann
d4991dddc5
Python: Don't install nox
...
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
autofix.ci / format_fix (push) Waiting to run
We don't use it anymore
2025-11-20 20:51:54 +01:00
Simon Hausmann
f2dc010dbf
Python: Speed up testing
...
Separate steps and remove nox, so that
1. We first set up the env and build slint **once**
2. We run the fast lint/ty/etc. checks
3. We run the python tests directly
2025-11-20 20:51:54 +01:00
Simon Hausmann
831e067f98
Python: Use ty instead of mypy
...
It has gotten pretty good and it's much faster than mypy.
2025-11-20 20:51:54 +01:00
Simon Hausmann
16ceb115a1
slint-compiler: Add support for generating Python stubs ( #10123 )
...
The generated file offers the following two pieces of functionality:
- Convenient front-end to slint.load_file() by loading the .slint file
(replaces use of auto-loader)
- More importantly: Type information for exported properties, callbacks,
functions, and globals
On loading, the previously generated API is compared to what's in the
.slint file and if the .slint file was changed in an incompatible way,
an exception is thrown.
A Python test driver is added which performs three steps with each test
case:
1. Generate python stubs and checks that they can be loaded with the
python interpreter and that `uv ty check` passes.
2. Extract expected python API out of pyi sections and compares them.
3. Appends any python code from python sections and runs them (this is
combined with step 1)
Fixes #4136
2025-11-20 17:17:01 +01:00
Burhan Khanzada
1d1a38147d
servo: Make CI use ubuntu runner ( #10088 )
...
- Use ubuntu runner for andorid build
- Skip release in android build
2025-11-18 12:45:44 +01:00
Burhan Khanzada
52ecb84571
CI: Added servo example to main CI workflow ( #10067 )
...
* CI: Added servo example to main CI workflow
* CI: Make servo_example job only runs when file chanages in examples/servo
* CI: Remove permissions
2025-11-14 15:02:21 +01:00
Burhan Khanzada
a344d50149
servo: Mac and Android CI ( #10064 )
...
- Adeed Mac and Android CI
- Ignore exmaples/servo/Cargo.lock license
2025-11-14 13:23:25 +01:00
Nigel Breslaw
2c5b402909
Tweak to reduce total number of rust-cache ( #10017 )
...
50GB of caches in branches is still being created. This doesn't
eliminate them all but makes a decent dent. This stops the more useful
master branch cache being evicted.
2025-11-10 14:46:27 +02:00
dependabot[bot]
23993ed5ce
build(deps): bump streetsidesoftware/cspell-action ( #10013 )
...
Bumps the github-actions group with 1 update: [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action ).
Updates `streetsidesoftware/cspell-action` from 7 to 8
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 14:01:53 +02:00
Simon Hausmann
e8096774cf
CI: Don't build the material gallery for every CI build
...
It's just built in the nightly. On macOS in the CI it's built twice, once as bin and once as lib, with a total of 600seconds according to cargo-timings.
2025-11-10 11:55:54 +01:00
Nigel Breslaw
aced732a2f
Combine rust and warnings check jobs
...
Means ones less job.
Warnings does not need to do a full compile.
Still comes in under 20 mins.
Enable the cache too.
2025-11-07 10:32:42 +00:00
Simon Hausmann
e3406994f4
CI: Attempt to run Node.js tests only on Linux when doing Slint internal changes
2025-11-07 10:29:03 +00:00
Simon Hausmann
9795a8ce4d
CI: Attempt to run python tests only on Linux when doing Slint internal changes
2025-11-07 10:29:03 +00:00
Nigel Breslaw
202381294b
Run check warnings in parallel
2025-11-07 10:11:08 +00:00
Simon Hausmann
3ededec824
CI: Fix docs output path in nightly
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
2025-11-07 06:06:17 +01:00
Simon Hausmann
a58b5e5581
CI: Test PRs in the merge queue before the merge into the master branch
2025-11-07 05:45:34 +01:00
Simon Hausmann
fcc6364bd1
CI: Fix docs publishing
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
There's no more a need to fix up the docs structure, when build_docs already produces the correct directory structure.
2025-11-06 21:56:55 +01:00
Simon Hausmann
1278a6aeaf
CI: Fix version subsitution in docs/slint/index.html
2025-11-06 21:54:49 +01:00
Simon Hausmann
62ba30dd1d
CI: prospective fix for failing publish_artifacts step
2025-11-06 21:07:48 +01:00