mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-04 10:18:16 +00:00

Some checks are pending
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
* fix: make real onSave export conditions * fix: remove fix * feat: pass export tests * fix: revert bootstrap changes * feat: reduce num of exports * fix: diag tests
25 lines
739 B
Bash
Executable file
25 lines
739 B
Bash
Executable file
# todo: it is in very early stage, so we are doing dirty things.
|
|
|
|
# python3 ./spec/main.py
|
|
|
|
DOCKER_ARGS=
|
|
if [ "$1" = "test" ]; then
|
|
DOCKER_ARGS="python3 ./spec/main.py"
|
|
elif [ "$1" = "bash" ]; then
|
|
DOCKER_ARGS="bash"
|
|
elif [ "$1" = "editor" ]; then
|
|
DOCKER_ARGS="nvim ."
|
|
else
|
|
echo "Usage: $0 [test|bash|editor]"
|
|
exit 1
|
|
fi
|
|
|
|
(cd ../.. && docker build -t myriaddreamin/tinymist:0.13.14 .)
|
|
docker build -t myriaddreamin/tinymist-nvim:0.13.14 .
|
|
docker run --rm -it \
|
|
-v $PWD/../../tests/workspaces:/home/runner/dev/workspaces \
|
|
-v $PWD:/home/runner/dev \
|
|
-v $PWD/target/.local:/home/runner/.local \
|
|
-v $PWD/target/.cache:/home/runner/.cache \
|
|
-w /home/runner/dev myriaddreamin/tinymist-nvim:0.13.14 \
|
|
$DOCKER_ARGS
|