+1
-5
@@ -6,12 +6,8 @@ steps:
|
|||||||
- make ci-version
|
- make ci-version
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: rust:1-alpine
|
image: git.teletypegames.org/internal/bevy-builder:latest
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache musl-dev zip make curl
|
|
||||||
- rustup target add wasm32-unknown-unknown
|
|
||||||
- WB=$(grep -o 'WASM_BINDGEN_VERSION *= *[0-9.]*' Makefile | grep -o '[0-9.]*$')
|
|
||||||
- curl -sSL "https://github.com/rustwasm/wasm-bindgen/releases/download/$${WB}/wasm-bindgen-$${WB}-x86_64-unknown-linux-musl.tar.gz" | tar xz -C /usr/local/bin --strip-components=1
|
|
||||||
- make ci-export
|
- make ci-export
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ WASM_RELEASE = target/$(WASM_TARGET)/release/$(PROJECT).wasm
|
|||||||
OUTPUT_ZIP = $(PROJECT)-$(VERSION).html.zip
|
OUTPUT_ZIP = $(PROJECT)-$(VERSION).html.zip
|
||||||
|
|
||||||
VERSION_FILE = .version
|
VERSION_FILE = .version
|
||||||
INDEX_HTML_URL = https://git.teletype.hu/tools/bevy-tools/raw/branch/master/web/index.html
|
INDEX_HTML_URL = https://git.teletypegames.org/tools/bevy-tools/raw/branch/master/web/index.html
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
"title": "Bevy Demo",
|
"title": "Bevy Demo",
|
||||||
"author": "Teletype Games",
|
"author": "Teletype Games",
|
||||||
"desc": "It's a simple demo program in Bevy",
|
"desc": "It's a simple demo program in Bevy",
|
||||||
"site": "https://git.teletype.hu/games/bevydemo",
|
"site": "https://git.teletypegames.org/games/bevydemo",
|
||||||
"license": "MIT License",
|
"license": "MIT License",
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user