Commit Graph

29 Commits

Author SHA1 Message Date
Dennis Kobert
04cdfb3184 Add monitor node for graph introspection
Adds a `serialize` function on Node which can be implemented by nodes to
allow introspecting their content. This pr also adds a Monitor Node that
always caches the last value it was evaluated with.

Test Plan: -

Reviewers: 0HyperCube

Reviewed By: 0HyperCube

Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1165
2023-04-26 23:21:50 +02:00
Dennis Kobert
2543c4b2ea Run CI for non-master pushes/PRs
Disables the requirement of merging into master to run the ci.

Test Plan:
- Create a pr against a non master branch and verify the ci runs
    - Push to a non master branch and verify the ci runs

Reviewers: Keavon

Reviewed By: Keavon

Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1166
2023-04-26 19:37:49 +02:00
Dennis Kobert
e868ebac11 Continue execution of ci script if posting a comment fails
Test Plan:
Create PR run for forked repo and see if the CI still finishes even if
the commment creation fails

Reviewers:

Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1164
2023-04-26 12:07:33 +02:00
Dennis Kobert
1180b19284 Migrate build system from Webpack to Parcel (#1102)
* Migrate webpack to parcel

* Always colour shell output

* Fix typos

* Fix updateImage function having undefined editorInstance

* Readd webpack for deployment builds (licence checker)

* Only use webpack for license generation

* Re add typscript support

* Fix cloudlare deploy

* Bump wasm-pack version

* Update ci script

* Print versions in ci script

* Use optional-dependencies for wasm-pack

* Execute wget after rust install

* Finding wasm-opt version

* Print wasm-opt version

* Revert test?

* Try to revert

* Deploy cloudflare via github actions

* Fix indentation in ci script

* Change project to graphite-dev

* Trigger ci

* Parcel ci (#1152)

* CI Test

* Add write permissions for pr

* Manually add cloudflare ci comment to prs

* Unskip cargo about

* Make compile on new versions of npm

* Add deployment script to rebuild editor.graphite.rs on tag creation

* Remove deploy script

* Comment out unused Svelte props causing warnings

* Many small fixes, including fixing @ imports

---------

Co-authored-by: hypercube <0hypercube@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-04-25 00:43:27 +02:00
Keavon Chambers
6febdea3c3 Remove all references to Vue 2023-03-10 14:14:34 -08:00
Dennis Kobert
aeea86466c Use cargo nextest and sccache in ci (#1011)
* Use cargo nextest

* add sccache
2023-02-08 00:15:41 +01:00
Dennis Kobert
f67fbe8899 Add self hosted runner to ci.yml (#955)
* Add self hosted runner to ci.yml

* Remove libgtk install

* Use mold as the linker

* Make build logs non verbose

* Fix crash on failure to get GLOBAL_PLATFORM

* Copy the platform enum before calling unwrap_or_default

Co-authored-by: 0hypercube <0hypercube@gmail.com>
2023-01-13 12:32:50 -08:00
Dennis Kobert
613f2d208e Update package chache before install (#962) 2023-01-12 09:43:50 +01:00
Dennis Kobert
2decabcda5 Manually install packages instead of using github action (#943)
Fixes the fact that CI randomly stopped working on existing code in master that already passed CI
2023-01-03 01:04:42 -08:00
TrueDoctor
f1b7abede7 Bundle Graphite using Tauri (#873)
* Setup tauri component for graphite editor

Integrate graphite into tauri app

Split interpreted-executor out of graph-craft

* Add gpu execution node

* General Cleanup
2022-12-11 12:46:55 -08:00
Keavon Chambers
5fe7aba85d Add GitHub Sponsors link for core team 2022-11-17 11:53:28 -08:00
Keavon Chambers
6099c9a34e Skip cargo-about in CI to save 5 minutes (#409) 2021-12-20 02:22:19 -08:00
Keavon Chambers
6a30b46793 Switch CI and CD scripts to use npm ci instead of npm install 2021-12-05 19:22:57 -08:00
Keavon Chambers
c3ec2f76e9 Switch to Node.js 16 LTS, upgrade TypeScript, ESLint, and other dependencies (#395)
* Upgrade TypeScript, ESLint, and other dependencies

This also cleans up various other files where newer ESLint rules complained

* Set CI and CD to use Node.js version 16

* Small tweak

* Fix CD version printing

* Add nvm version for Cloudflare Pages
2021-11-29 03:32:09 -08:00
Keavon Chambers
dc1b53b721 Upgrade Graphite to Rust 2021 edition; upgrade dependencies (#387)
* Upgrade Graphite to Rust 2021 edition; upgrade dependencies

* Fix CI

* Move changes to the project Cargo.tomls

* Remove unnecessary 2021 edition upgrade tweak

* Show version number before and after updating rustc

Co-authored-by: Dennis Kobert <dennis@kobert.dev>
# Conflicts:
#	Cargo.lock
2021-11-01 00:00:22 -07:00
Christian Authmann
ce1adb71a0 Do not silently install cargo-about. (#377) 2021-09-19 16:58:04 +02:00
Keavon Chambers
ef73effe8a Auto-generate third-party license notices (#370)
Closes #294
Closes #371
2021-09-06 06:57:35 -07:00
bjorn3
66207a53bd Set up cargo-deny (#358)
* Setup cargo-deny

* Nicer job names
2021-08-26 02:01:56 -07:00
Keavon Chambers
4b9c2eb793 Restructure project directories (#333)
`/client/web` -> `/frontend`
`/client/cli` -> *delete for now*
`/client/native` -> *delete for now*
`/core/editor` -> `/editor`
`/core/document` -> `/graphene`
`/core/renderer` -> `/charcoal`
`/core/proc-macro` -> `/proc-macros` *(now plural)*
2021-08-07 05:17:18 -07:00
Keavon Chambers
bc11e30785 Add a pull request template so GitHub reminds to reference issue numbers 2021-07-10 13:58:54 -07:00
Keavon Chambers
fcc4c1874b Set CI environment variable to NODE_ENV=production during linting (#73) 2021-04-14 01:27:01 -07:00
Keavon Chambers
e3be55d4e2 Fix web lint errors and enable web linting in CI (#72) 2021-04-14 00:41:20 -07:00
Keavon Chambers
db0fc65bc3 Remove continuous deployment with GitHub Actions 2021-04-10 22:02:36 -07:00
Keavon Chambers
40b1a645bd Clean up CI and CD scripts 2021-04-10 21:16:08 -07:00
Keavon Chambers
2a8cc34997 Set up deploy bot 2021-04-10 13:27:49 -07:00
Keavon Chambers
22fe11b950 Fix deployment script syntax 2021-04-09 22:37:58 -07:00
Keavon Chambers
f258f2418b Fixes to CI actions 2021-04-09 22:26:48 -07:00
Keavon Chambers
1f26f9ef97 Add deployment to Cloudflare Workers 2021-04-09 22:26:16 -07:00
TrueDoctor
1dfbe9192e Create basic CI workflow (#41) 2021-03-27 02:26:55 -07:00