-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
23 lines (23 loc) · 1.03 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
tasks:
- init: |
( sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 23F3D4EA75716059; \
sudo apt-add-repository https://cli.github.com/packages; \
sudo apt-get update -y; \
sudo apt-get upgrade -y; \
sudo apt-get install libgl-dev freeglut3-dev nasm -y; \
sudo apt-get install gh -y ) &
( rustup install nightly; \
rustup default nightly; \
rustup component add rustfmt rust-analysis rust-src clippy rls; \
rustup target add wasm32-unknown-unknown wasm32-unknown-emscripten; \
cargo install cargo-audit; \
cargo fetch ) &
( git submodule update --init; \
git submodule foreach git reset --hard; \
cd emsdk && ./emsdk install latest && ./emsdk activate latest; \
source "/workspace/apollo/emsdk/emsdk_env.sh"; \
echo 'source "/workspace/apollo/emsdk/emsdk_env.sh"' >> $HOME/.bash_profile; \
echo 'source "/workspace/apollo/emsdk/emsdk_env.sh"' >> $HOME/.zsh_profile )
pnpm i -g @sentry/craft &
wait
cargo check