Compare commits

..
7 Commits
Author SHA1 Message Date
prorail b060ced878 build: Docs ook met release vlag bouwen
gitea/double-pendulum/pipeline/head This commit looks good
2026-09-08 17:34:17 +02:00
prorail 463fac575a build: Release vlag voor cargo check
gitea/double-pendulum/pipeline/head This commit looks good
2026-09-08 17:31:59 +02:00
prorail bc231a8e91 build: Cargo check meer gespecificeerd
gitea/double-pendulum/pipeline/head This commit looks good
2026-09-08 17:29:24 +02:00
prorail 5f864a86f8 build: Trailing forward slash voor artifact folder
gitea/double-pendulum/pipeline/head This commit looks good
2026-09-08 17:26:01 +02:00
prorail 930b896d58 docs: README naar docs laten verwijzen
gitea/double-pendulum/pipeline/head There was a failure building this commit
2026-09-08 17:23:05 +02:00
prorail c3e6ea7b88 build: Docs bouwen en publiceren 2026-09-08 17:22:50 +02:00
prorail 61ca20a5e1 docs: Root lib docs toegevoegd voor nu 2026-09-08 17:13:18 +02:00
3 changed files with 22 additions and 1 deletions
Vendored
+15 -1
View File
@@ -3,7 +3,8 @@ pipeline {
stages { stages {
stage('Check') { stage('Check') {
steps { steps {
sh 'cargo check' sh 'cargo check -r --target wasm32-unknown-unknown'
sh 'cargo tree -e features --target wasm32-unknown-unknown'
} }
} }
@@ -14,6 +15,13 @@ pipeline {
} }
} }
stage('Build docs') {
steps {
sh 'cargo doc -r'
archiveArtifacts artifacts: 'target/doc/'
}
}
stage('Deploy') { stage('Deploy') {
steps { steps {
sh 'rm -r /var/www/zwietering.eu/projects/double-pendulum' sh 'rm -r /var/www/zwietering.eu/projects/double-pendulum'
@@ -21,6 +29,12 @@ pipeline {
sh 'cp -r ./pkg/* /var/www/zwietering.eu/projects/double-pendulum' sh 'cp -r ./pkg/* /var/www/zwietering.eu/projects/double-pendulum'
} }
} }
stage('Deploy docs') {
steps {
sh 'cp -r ./target/doc/ /var/www/zwietering.eu/projects/double-pendulum'
}
}
} }
post { post {
+2
View File
@@ -1,5 +1,7 @@
# double-pendulum # double-pendulum
[Docs](https://zwietering.eu/projects/double-pendulum/doc/double_pendulum_wasm)
<!--toc:start--> <!--toc:start-->
- [double-pendulum](#double-pendulum) - [double-pendulum](#double-pendulum)
+5
View File
@@ -1,3 +1,8 @@
//! WASM implementation of a double pendulum simulation
//!
//! See README.md for installation / build instructions.
//! This implementation is just a stub for now.
use wasm_bindgen::prelude::*; use wasm_bindgen::prelude::*;
#[wasm_bindgen(start)] #[wasm_bindgen(start)]