Commit Graph

29 Commits

Author SHA1 Message Date
Alain Emilia Anna Zscheile bbf54c9eb5 ci(egui): Select xdg-portal as backend for egui
Error message:
error: failed to run custom build command for `rfd v0.15.1`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/woodpecker/src/codeberg.org/topola/topola/target/debug/build/rfd-df83cee8e4039bcf/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rfd-0.15.1/build.rs:14:17:
  You need to choose at least one backend: `gtk3` or `xdg-portal` features
2025-01-02 17:36:55 +01:00
Mikolaj Wielgus fbc71e46dc chore(ci): correct name of `check_licensing` flow
I copied and changed it from `check_formatting`, but forgot to rename in
one place.
2024-12-30 01:07:27 +01:00
Mikolaj Wielgus 71d27c994e chore(ci): add `reuse lint` check to CI to check REUSE compliance 2024-12-30 00:58:11 +01:00
Mikolaj Wielgus 71cdc2794d chore(licensing): add REUSE headers to hidden files, `flake.nix`, `index.html`
I ran the following command in Fish shell:

```
reuse annotate --copyright="Topola contributors" --license="MIT" **/.gitignore {.woodpecker/*,.*}.yaml .rustfmt.toml flake.nix index.html
```
2024-12-30 00:18:38 +01:00
Mikolaj Wielgus 59478e0dbe chore(ci): replace running `pre-commit` with just a formatting check
Contrary to what I naively thought, `pre-commit` in CI does not result
in commit messages being checked. Another action `pre-commit` was
doing was running `cargo check`, but this is essentially the same as
building without compilation, and we are testing by building in other
CI-workflows. So we are left with only a formatting check, which does
not need installing and running `pre-commit`.
2024-12-29 03:03:35 +01:00
Alain Emilia Anna Zscheile 2d1af33204 build: put egui and cli into separate crates
* build(ci): try to fix CI
* build: use workspace dependencies for deduplication / drift avoidance
2024-11-20 15:44:02 +01:00
Mikolaj Wielgus 607fa056a4 ci(build_wasm): `cargo binstall trunk` instead of installing from source
This is intended to make the `build_wasm` CI check complete more quickly.
2024-10-07 02:39:16 +02:00
Mikolaj Wielgus a3f744cce8 ci: run pre-commit as lint
This reuses the `pre-commit` tool used starting today to avoid code
duplication.
2024-10-06 21:00:01 +02:00
Tomasz Cichoń cabe45e6b4 ci: install wasm target before building 2024-10-02 19:15:18 +02:00
Mikolaj Wielgus 4da0c244f3 ci/build_wasm: install Trunk before building 2024-10-02 14:07:36 +02:00
Mikolaj Wielgus 21cbaf1c05 ci: add WASM build test 2024-10-02 13:55:04 +02:00
crapStone 518e4f2daf
remove allowed failure 2024-10-01 23:56:40 +02:00
crapStone 9259c22755
fix ci 2024-10-01 23:43:42 +02:00
crapStone b2d480496b
also run clippy 2024-10-01 23:43:41 +02:00
crapStone 1302c91b7b
add lint step with cargo fmt 2024-10-01 23:43:40 +02:00
crapStone 181eaa7e2c
fix woodpecker warnings 2024-10-01 23:43:38 +02:00
Alain Emilia Anna Zscheile 49d7b3306b CI: don't run CI checks on pull_request_closed and such 2024-10-01 20:00:13 +00:00
hakki 5793f0635a CICD: fixed CLI build 2024-09-25 18:18:21 +02:00
hakki f0a193fc6e CICD: add cli build (#37)
Topola missed `CLI` build test in CI/CD,

Reviewed-on: https://codeberg.org/topola/topola/pulls/37
Co-authored-by: hakki <hakki@noreply.codeberg.org>
Co-committed-by: hakki <hakki@noreply.codeberg.org>
2024-09-24 19:03:07 +00:00
Mikolaj Wielgus 449e6885a8 ci: run with RUST_BACKTRACE=1 to provide more info on failure 2024-08-27 00:38:27 +02:00
Mikolaj Wielgus ff2c6cb260 ci: remove SDL2 bench build as we have removed it long ago 2024-08-22 02:01:18 +02:00
Mikolaj Wielgus 765d8495c6 tests: add four 3rd order SMD LC filters test 2024-06-01 00:34:09 +02:00
Mikolaj Wielgus 194383d9b3 ci: remove superfluous `cargo check` 2024-05-25 23:42:13 +02:00
Mikolaj Wielgus 3dd311c5fc contracts: use `disable_contracts` feature instead of checking channel 2024-05-25 22:46:06 +02:00
Mikolaj Wielgus 9502c05008 ci: build both in stable and nightly Rust 2024-05-25 21:54:48 +02:00
Mikolaj Wielgus 09f1e14e45 ci: attempt to install cmake in sdl2_build pipeline 2024-05-25 18:16:42 +02:00
Mikolaj Wielgus 2cb4c5d5f1 ci: add egui and sdl2 build tests 2024-05-25 17:46:37 +02:00
Mikolaj Wielgus 2f8cccea07 ci: build only with nightly for the time being 2024-05-24 23:30:29 +02:00
Mikolaj Wielgus fd969bcf24 ci: first attempt at build and testing pipeline 2024-05-24 23:28:32 +02:00