Initial connect-four wasm
All checks were successful
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline was successful
ci/woodpecker/push/wasm-o-x-rust Pipeline was successful
ci/woodpecker/push/wasm-connect-four-rust Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful

This commit is contained in:
2022-08-09 13:46:04 +00:00
parent 65d35c4859
commit 9fd2b4d507
8 changed files with 1137 additions and 0 deletions

View File

@@ -70,3 +70,4 @@ pipeline:
ignore_message: "[ALL]"
depends_on:
- wasm-o-x-rust
- wasm-connect-four-rust

View File

@@ -0,0 +1,47 @@
pipeline:
build:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: build
folder: wasm/connect-four-rust
target: web
scope: game-algorithms
when:
path:
include:
- wasm/connect-four-rust/*
- .woodpecker/wasm-connect-four-rust.yml
ignore_message: "[ALL]"
test:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: test
folder: wasm/connect-four-rust
when:
path:
include:
- wasm/connect-four-rust/*
- .woodpecker/wasm-connect-four-rust.yml
ignore_message: "[ALL]"
publish:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: publish
folder: wasm/connect-four-rust
scope: game-algorithms
username: cyclane
token:
from_secret: DEPLOY_TOKEN
registry: https://git.koval.net/api/packages/cyclane/npm/
when:
branch: main
path:
include:
- wasm/connect-four-rust/*
- .woodpecker/wasm-connect-four-rust.yml
ignore_message: "[ALL]"
depends_on:
- tools-wasm-pack-plugin