mirror of
https://github.com/penpot/penpot.git
synced 2026-09-06 20:18:39 +00:00
Merge pull request #6271 from penpot/ladybenko-fix-test-run
🔧 Update test script to use the right architecture
This commit is contained in:
commit
20f695e8d7
@ -39,4 +39,4 @@ fi
|
|||||||
export EMCC_CFLAGS;
|
export EMCC_CFLAGS;
|
||||||
export _CARGO_PARAMS;
|
export _CARGO_PARAMS;
|
||||||
|
|
||||||
export SKIA_BINARIES_URL="https://github.com/penpot/skia-binaries/releases/download/0.81.0-2/skia-binaries-24dee32a277b6c7b5357-wasm32-unknown-emscripten-gl-svg-textlayout-binary-cache.tar.gz"
|
export SKIA_BINARIES_URL="https://github.com/penpot/skia-binaries/releases/download/0.81.0-3/skia-binaries-24dee32a277b6c7b5357-wasm32-unknown-emscripten-gl-svg-textlayout-binary-cache.tar.gz"
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
use crate::get_now;
|
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
pub fn get_time() -> i32 {
|
pub fn get_time() -> i32 {
|
||||||
get_now!() as i32
|
crate::get_now!() as i32
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|||||||
@ -4,8 +4,8 @@ pushd $_SCRIPT_DIR;
|
|||||||
|
|
||||||
. ./_build_env
|
. ./_build_env
|
||||||
|
|
||||||
export SKIA_BINARIES_URL="https://github.com/penpot/skia-binaries/releases/download/0.81.0-2/skia-binaries-24dee32a277b6c7b5357-aarch64-unknown-linux-gnu-gl-svg-textlayout-binary-cache.tar.gz"
|
export SKIA_BINARIES_URL="https://github.com/penpot/skia-binaries/releases/download/0.81.0-3/skia-binaries-24dee32a277b6c7b5357-x86_64-unknown-linux-gnu-gl-svg-textlayout-binary-cache.tar.gz"
|
||||||
export _CARGO_PARAMS="--target=aarch64-unknown-linux-gnu";
|
export _CARGO_PARAMS="--target=x86_64-unknown-linux-gnu";
|
||||||
|
|
||||||
cargo test $_CARGO_PARAMS --bin render_wasm -- --show-output
|
cargo test $_CARGO_PARAMS --bin render_wasm -- --show-output
|
||||||
popd
|
popd
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user