Commit graph

311 commits

Author SHA1 Message Date
Olivier Goffart
74c00b1cec Add a github action to bump version numbers 2021-08-10 09:03:29 +02:00
Simon Hausmann
be47f708d9 Cleanup: Move docs/html to docs/resources 2021-07-08 07:01:51 +02:00
Simon Hausmann
ad321c7735 Use one shared html file for the syntax highlighting
Using Olivier's idea to check the meta tag, we can distinguish rustdoc
from "the rest". The html is included in mdbook by directly by
symlinking head.hbs.
2021-07-08 07:01:51 +02:00
Simon Hausmann
8003c06f3a Move all HTML/CSS/JS related to preview and syntax highlighting in the docs into a shared folder
This will also be the place where the .60 language definition for
highlight.js can go.
2021-07-08 07:01:51 +02:00
Simon Hausmann
77898796da Rust docs: Split up the preview from the syntax highlighting
The preview is now in sixtyfps-docs-preview.html and the highlighting in
sixtyfps-docs-highlight.html. This faciliates reusing the preview from
C++ while using a different HTML file later for syntax highlighting.

Relates to #282
Needed for #281
2021-07-07 14:00:04 +02:00
Olivier Goffart
b1c680ca13 CI: skip a broken test in the updater test
The rotate test had duplicated id and would therefore no longer compile
2021-07-07 12:44:11 +02:00
Olivier Goffart
4c6bb37507
Spell check CI: don't report faillure
There are too many words not in the dictionary, so don't show a CI faillure when there is a spelling mistake. Just show the warnings in the PR
2021-07-06 11:57:09 +02:00
Olivier Goffart
13bd828b96 Update license date 2021-07-02 15:55:54 +02:00
Olivier Goffart
8ab3473723 Test the updator with version 0.1.0 2021-07-02 12:30:07 +02:00
Olivier Goffart
67a4260beb Add one word in the spell whitelist
and use the proper config file
2021-07-01 13:37:55 +02:00
Olivier Goffart
2142c3718a Experiment with a spellcheck github action 2021-07-01 13:15:10 +02:00
Olivier Goffart
1b9b583e3c Move the published editor and wasm-interpreter to the snapshots directory 2021-07-01 10:12:53 +02:00
Simon Hausmann
19d4fa17ab Publish dev docs builds to snapshots/$branch/docs 2021-07-01 08:37:08 +02:00
Simon Hausmann
1733b08b38 Remove plaster demo copying from slide puzzle demo again
We used to load the ttf via xhr/fetch off the web, but since a while ago we
use import in the .60 and therefore build the .ttf into the binary.
2021-06-30 22:30:43 +02:00
Simon Hausmann
4dba8f0d74 Fix missing plaster font in slide-puzzle demo 2021-06-30 22:27:06 +02:00
Simon Hausmann
1ab9189fd9 Prospective fix for demo publish for loop
Also determine the target branch from the github ref
2021-06-30 21:57:56 +02:00
Simon Hausmann
fef34b66c2 Simplify demo upload
Use a for loop
2021-06-30 21:36:45 +02:00
Simon Hausmann
cb5dbbe12f Fix mkdir path 2021-06-30 20:07:55 +02:00
Simon Hausmann
c26de7a017 Move the development demos to snapshots/master/demos/
Next I'll try to find a way to avoid hardcoding the branch name and shorten the paths,
but for now this should avoid accidental overwriting of the demos
of the release.
2021-06-30 19:00:35 +02:00
Simon Hausmann
b69ec1f9be Cache the python virtual environment for C++ doc builds
Since we currently pin sphinx and the theme from git, it requires some
recompilation instead of just a dependency in pypi.
2021-06-25 18:50:19 +02:00
Simon Hausmann
67ba7d434b Add xkbcommon-dev to the vscode extension build
Forgot to git add in the previous commit :)
2021-06-25 18:45:53 +02:00
Simon Hausmann
0d89bb9bd9 Sync linux dependencies
Based on f8297df104 fixing the build issue
of libxkbcommon.so not being found at link time, possibly because the underlying
on GitHub changed, this change synchronizes all the apt-get install cases
I've found.
2021-06-25 18:17:33 +02:00
Simon Hausmann
783578f724 Prospective linux ci build fix, part 2
Oops, add xkbcommon also in the other apt-get install case.

Amends commit f8297df104
2021-06-25 18:11:28 +02:00
Simon Hausmann
f8297df104 Prospective fix for linux build in the CI
Some crate appears to pull in xkbcommon as a dynamic dependency.
2021-06-25 18:10:00 +02:00
Simon Hausmann
162725018e Run tests on macOS
With the testing backend this should not be a problem anymore
2021-06-25 17:33:59 +02:00
Simon Hausmann
40d8c7633f Enable clang support in Doxygen 2021-06-25 08:48:28 +02:00
Olivier Goffart
517237be23 CI: Ignore errors becuase mdbook is already installed
Otherwise we get logs like

```
Run cargo install mdbook --version 0.4.10
    Updating crates.io index
error: binary `mdbook` already exists in destination
Add --force to overwrite
```
2021-06-18 22:05:49 +02:00
Simon Hausmann
8083046e1d Initial port of the C++ version of the memory tutorial
A couple of things still need to be done though, including more sharing with
the Rust version, cmake syntax highlighting, externalizing the code.
2021-06-17 11:53:16 +02:00
Simon Hausmann
7b95371c78 Move the Rust tutorial into a sub-directory
To make room for the C++ version next to it :-)
2021-06-17 11:04:43 +02:00
Simon Hausmann
b67ad35319
Prospective CI fix
Permit mdbook from cache
2021-06-16 20:55:59 +02:00
Simon Hausmann
1e199088a0
Minor ci cleanup
Remove unused node version variable for the docs build
2021-06-16 20:51:02 +02:00
Simon Hausmann
1521a81813 Improve mdbook cache key 2021-06-16 16:02:24 +02:00
Simon Hausmann
2aaf829018 Try to cache the mdbook installation
It takes ~9 minutes otherwise
2021-06-16 16:00:23 +02:00
Simon Hausmann
f45dc7c2e5 Try to build the rust tutorial mdbook in the CI 2021-06-16 13:46:01 +02:00
Olivier Goffart
42343f661d Embedded build: set env variable to avoid warnings 2021-06-01 18:29:12 +02:00
Olivier Goffart
8c6eb65f1c Few adaptations of the renamed viewer 2021-05-22 09:30:57 +02:00
Olivier Goffart
a41f56ff8e Don't use deprecated symbol
The new alternative is new in Rust 1.52, so this raise the minimum
supported rust version
2021-05-20 11:19:56 +02:00
Olivier Goffart
54e77e8583 Updater test: ignore binding loop error
The updater can't fix these
2021-05-18 18:32:26 +02:00
Olivier Goffart
da1deb714b Updater: Remove colspan/rowspan/row/col when not in a GridLayout
This was ignored before, and now it would be an error
2021-05-11 14:59:57 +02:00
Olivier Goffart
988c2b0b9d Use the testing backend for the C++ integration tests 2021-05-11 11:40:26 +02:00
Olivier Goffart
9d6bbba776 CI: disable rust incremental build
It's a CI, there will not be any incremental build later.
So the build should be slightly faster

And also we will not use gigabytes in the incremental directory
2021-05-06 19:31:01 +02:00
Olivier Goffart
a4b31fbe2e CI: -W was not enough to override the -D, use -A instead
Also fix a warning about the usage of std::any::Any without dyn
2021-05-06 19:03:52 +02:00
Olivier Goffart
80f98c727c Do not deni deprecated warning
It warns about things udeprecated in rust 1.52 that only have
alternatives in rust 1.52, and i don't feel confident requiring
1.52 already
2021-05-06 18:15:08 +02:00
Simon Hausmann
91c0618575 Try to enable Qt for the cmake build on Windows 2021-05-04 15:44:49 +02:00
Olivier Goffart
4965be73ea CI: test "update" from 0.0.6
There is currently nothing to update, but so the test should still pass
2021-05-04 12:38:57 +02:00
Simon Hausmann
4580953950 Try to fix the icon title on macOS
... by setting the bundle identifier
2021-04-22 08:47:42 +02:00
Simon Hausmann
92345f2052 Try to build the macOS binary as universal binary
One day cargo will be able to do this for us
2021-04-22 08:06:44 +02:00
Olivier Goffart
aa16f0e65a
Updater CI: install dependencies
so the interpreter can be built
2021-04-21 17:07:11 +02:00
Simon Hausmann
3b22baa5e2 Try to build the vs code extension binaries for macOS as bundles
Using cargo-bundle allows for the inclusion of the extension logo
as app icon and that subsequently replaces the generic "exec"
icon in the macOS dock with the extension logo.

Fixes #197
2021-04-21 17:02:14 +02:00
Simon Hausmann
aca27b4ea4 Prepare vscode extension build for macos bundle
Separate out the macos instructions into a separate job
2021-04-21 17:02:14 +02:00