mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 02:36:11 +02: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
3 changed files with 4 additions and 6 deletions
|
@ -39,4 +39,4 @@ fi
|
|||
export EMCC_CFLAGS;
|
||||
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)]
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub fn get_time() -> i32 {
|
||||
get_now!() as i32
|
||||
crate::get_now!() as i32
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
|
|
|
@ -4,8 +4,8 @@ pushd $_SCRIPT_DIR;
|
|||
|
||||
. ./_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 _CARGO_PARAMS="--target=aarch64-unknown-linux-gnu";
|
||||
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=x86_64-unknown-linux-gnu";
|
||||
|
||||
cargo test $_CARGO_PARAMS --bin render_wasm -- --show-output
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue