Commit graph

311 commits

Author SHA1 Message Date
Olivier Goffart
4b4870ceda CI: set the environment variable to get a backtrace when running the tests 2021-11-02 12:41:30 +01:00
Olivier Goffart
a96ab1b8e5 CI: test the MSRV 2021-11-01 13:00:41 +01:00
Simon Hausmann
916107887b Move the binaries from bin/ into the main folder 2021-10-22 15:56:08 +02:00
Simon Hausmann
24fffda907 Try running prepare_binary_package.sh on Windows with -x 2021-10-22 15:37:18 +02:00
Simon Hausmann
dc34cb33e3 Prospective fix for windows artifact directory structure
GH action's upload-artifact strips the provided path
2021-10-22 15:36:53 +02:00
Olivier Goffart
15d87cd917 Fix packaging of licenses 2021-10-22 15:09:48 +02:00
Simon Hausmann
9ac76cce2b
Fix missing windows artifact 2021-10-22 15:04:06 +02:00
Olivier Goffart
ee1febc8f7 Fix the path in the .tar.gz 2021-10-22 14:44:51 +02:00
Olivier Goffart
862a9d700a pin to ubuntu 20.4 lts 2021-10-22 14:44:51 +02:00
Olivier Goffart
24cccfb9bb Use cargo-about to generate the attributions from Qt crates 2021-10-22 14:32:17 +02:00
Simon Hausmann
028df853dd Try to use the script to create legal notices in the yaml job 2021-10-22 12:13:20 +02:00
Simon Hausmann
1182bb439b Fix filename of viewer binary 2021-10-21 16:47:37 +02:00
Simon Hausmann
6e828e2c82 Include LICENSE.md in the sixtyfps-viewer packages 2021-10-21 16:46:21 +02:00
Simon Hausmann
dd5850adf8 Fix permissions of created viewer binary on Linux
GH action's artifacts mechanism always strips permissions. The established workaround is to tar up the files first.
2021-10-21 16:34:19 +02:00
Simon Hausmann
d5ae3b0bc5 Fix macos platform plugin copying 2021-10-21 15:00:38 +02:00
Simon Hausmann
65205df8f8 Fix license check 2021-10-21 14:59:27 +02:00
Simon Hausmann
6c17470835 Build only the viewer binary in the viewer binary job 2021-10-21 14:42:00 +02:00
Simon Hausmann
0d4c389e49 Add job for building viewer binaries with Qt 2021-10-21 14:38:19 +02:00
Simon Hausmann
26ae3210d5 Fix key specification for rust-cache
We need `with`
2021-10-21 14:02:24 +02:00
Simon Hausmann
63a8d81483 Prospective fix for invalid yaml syntax 2021-10-21 14:01:34 +02:00
Simon Hausmann
d377a405d5 Prospective fix for linking error in the CI on Windows 2021-10-21 14:00:20 +02:00
Olivier Goffart
db4bc5338a Make the upgrade_version.yaml also upgrade the version string in AboutSixtyFPS 2021-10-06 10:43:32 +02:00
Simon Hausmann
ac5ee89537 Enable resource embedding C++ build coverage
In the CMake build on Linux, enable resource embedding.

This is a compromise clearly - it would be best to enable it on all, but
OTOH this slows down compilation. There's also no test for whether this
works at run-time, it would be best to have an API for that, i.e. the
ability to annotate an @image-url.
2021-10-05 15:05:50 +02:00
Olivier Goffart
d0f953f0e5 CI: Try using the rust-cache action instead of doing our own thing 2021-09-30 17:08:28 +02:00
Simon Hausmann
26ed010146 Bump run-cmake Github Action version in the CI
The new version promises improved diagnostics (log files) and security
fixes.
2021-09-16 11:28:40 +02:00
Simon Hausmann
fb26ad777e Prospective fix for cmake args not being appended 2021-09-16 10:47:19 +02:00
Simon Hausmann
3358841ab0 Disable the build of tests and examples by default
Re-enable them in the CI (naturally), but with them off by default any
spurious compiler warnings in the tests won't break the build of users
and we don't clone catch2 and fmtlib by default.
2021-09-16 09:53:59 +02:00
Simon Hausmann
d5bf2749de Add RISC-V to the embedded test builds 2021-09-10 13:39:36 +02:00
Simon Hausmann
8744d71907 Add a riscv container for cross builds 2021-09-10 11:16:30 +02:00
Olivier Goffart
6906475e22 Remove the unicode test
The GCC version on the CI is still too old

Also this fixes the CI not running the C++ driver tests
2021-09-05 09:29:00 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Olivier Goffart
a5d230932b There was another reason than the duplicated id why this example was removed 2021-08-12 14:00:25 +02:00
Olivier Goffart
d5b1a95f74 Turn the "duplicated id" error into a warning
Just for compatibility reason with 0.1.0, this is going to be turned
back into an error at a later point
2021-08-12 13:47:11 +02:00
Olivier Goffart
220f8ec473 I forgot MSVC in the last commit
We need to disable the unicode test for MSVC because that doesn't work
2021-08-12 10:51:18 +02:00
Simon Hausmann
8903adb584 Add a WASM build of the plotters example
... which uses an intermediate drawing backend to skip the text on the axis, as
that requires TrueType fonts form the filesystem.
2021-08-11 16:19:10 +02:00
Simon Hausmann
e5c2a4f996 Avoid hardcoding the rgb crate version for rustdoc builds 2021-08-11 08:46:55 +02:00
Simon Hausmann
79cb3ac27a CI: Add build test coverage for non-default workspace members 2021-08-11 08:27:18 +02:00
Simon Hausmann
ea663955bd Fix links to rgb crate in the sixtyfps.io hosted online docs
Use the external docs rustdoc feature to link to the rgb docs on docs.rs.
2021-08-10 22:30:37 +02:00
Olivier Goffart
9c95da8a7c
Disable spellcheck CI 2021-08-10 19:19:17 +02:00
Simon Hausmann
01c3347d19 Make fluent the new default style
It's not ugly :-)
2021-08-10 15:56:38 +02:00
Simon Hausmann
5e5c7cf05b Prospective fix for including the imagefilter and plotter in the CI builds better
Clear their artifacts from the cache and include the imagefilter in the wasm demos.
2021-08-10 15:56:01 +02:00
Simon Hausmann
6d1ec9b5d5 minor cleanup: we might not need to skip the plotter example
... from the upgrade test, as it is not in the checkout anyway.
2021-08-10 15:56:01 +02:00
Simon Hausmann
59eaaee262 Prospective fix for updater test in CI
Disable the imagefilter and plotter for 0.0.5, 0.0.6 and 0.1.0.
In the future we want to test them though.
2021-08-10 15:56:01 +02:00
Simon Hausmann
50fb40525a Fix typo
Co-authored-by: Olivier Goffart <ogoffart@sixtyfps.io>
2021-08-10 15:56:01 +02:00
Simon Hausmann
1d83837228 Add a plotter example using plotters
This is kind of an interactive port of
https://github.com/38/plotters/blob/master/examples/3d-plot2.rs
2021-08-10 15:56:01 +02:00
Olivier Goffart
298f6bbe89 Fix the version update script
- Skip helper crates
- remove leading quote
2021-08-10 10:04:46 +02:00
Olivier Goffart
db1e197dba The shell in github action don't expand **/ properly 2021-08-10 09:53:31 +02:00
Olivier Goffart
dcc9537213 Prospective fix for the upgrade version script 2021-08-10 09:49:38 +02:00
Olivier Goffart
7315776d3e Version bump script: push to a branch 2021-08-10 09:46:29 +02:00
Olivier Goffart
e55b5ff81a Prospective fix for the version scrupt 2021-08-10 09:35:28 +02:00