Initial connect-four wasm
This commit is contained in:
@@ -70,3 +70,4 @@ pipeline:
|
||||
ignore_message: "[ALL]"
|
||||
depends_on:
|
||||
- wasm-o-x-rust
|
||||
- wasm-connect-four-rust
|
||||
|
47
.woodpecker/wasm-connect-four-rust.yml
Normal file
47
.woodpecker/wasm-connect-four-rust.yml
Normal 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
|
Reference in New Issue
Block a user