summaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-12-04 16:47:12 +0300
committerNamilskyy <alive6863@gmail.com>2025-12-04 16:47:12 +0300
commitb5cd950218d6deadd46bd3d1529a3cabeac2220f (patch)
tree1a6381e1dada971c7634d993cc8db1abc41ced0d /.woodpecker.yaml
parentd70de444665cb79bc36f9acc807aef5d9706dac1 (diff)
Fixes in main window, started settings window. Added CI workflow.
Diffstat (limited to '.woodpecker.yaml')
-rw-r--r--.woodpecker.yaml57
1 files changed, 57 insertions, 0 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml
new file mode 100644
index 0000000..597c346
--- /dev/null
+++ b/.woodpecker.yaml
@@ -0,0 +1,57 @@
+steps:
+ dependencies:
+ image: rust
+ environment:
+ RUST_BACKTRACE: 1
+ CARGO_TERM_COLOR: always
+ commands:
+ - rustup default stable
+ - apt install -y libwebkit2 gtk-4.0-dev
+ when:
+ branch: main
+ event: [ push, pull_request ]
+ build:
+ image: rust
+ environment:
+ RUST_BACKTRACE: 1
+ CARGO_TERM_COLOR: always
+ commands:
+ - cargo build --verbose --release --jobs 2
+ when:
+ branch: main
+ event: [ push, pull_request ]
+
+ fmt:
+ image: rust
+ environment:
+ RUST_BACKTRACE: 1
+ CARGO_TERM_COLOR: always
+ commands:
+ - rustup component add rustfmt
+ - cargo fmt --all -- --check
+ when:
+ branch: main
+ event: [ push, pull_request ]
+# clippy:
+# image: rust
+# environment:
+# RUST_BACKTRACE: 1
+# CARGO_TERM_COLOR: always
+# commands:
+# - rustup component add clippy rustfmt
+# - cargo fmt --all -- --check
+# - cargo clippy --jobs 2 -- -D clippy::all -D warnings
+# when:
+# branch: main
+# event: [ push, pull_request ]
+
+# tests:
+# image: rust
+# environment:
+# RUST_BACKTRACE: 1
+# CARGO_TERM_COLOR: always
+# commands:
+# - cargo test --verbose --jobs 2 -- --test-threads=2
+# when:
+# branch: main
+# event: [ push, pull_request ] \ No newline at end of file