|
|
@ -5,7 +5,7 @@ on: [push, pull_request]
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
LLVM_VERSION: 8
|
|
|
|
LLVM_VERSION: 8
|
|
|
|
WASMCEPTION_URL: https://github.com/gwsystems/wasmception/releases/download/v0.2.0/wasmception-linux-x86_64-0.2.0.tar.gz
|
|
|
|
WASMCEPTION_URL: https://github.com/gwsystems/wasmception/releases/download/v0.2.0/wasmception-linux-x86_64-0.2.0.tar.gz
|
|
|
|
WASI_SDK: /opt/wasi-sdk
|
|
|
|
# WASI_SDK: /opt/wasi-sdk
|
|
|
|
LANG: C.UTF-8
|
|
|
|
LANG: C.UTF-8
|
|
|
|
LANGUAGE: C.UTF-8
|
|
|
|
LANGUAGE: C.UTF-8
|
|
|
|
LC_ALL: C.UTF-8
|
|
|
|
LC_ALL: C.UTF-8
|
|
|
@ -56,15 +56,15 @@ jobs:
|
|
|
|
sh -s -- --default-toolchain stable --component rustfmt --target wasm32-wasi -y
|
|
|
|
sh -s -- --default-toolchain stable --component rustfmt --target wasm32-wasi -y
|
|
|
|
echo "/root/.cargo/bin:$PATH" >> $GITHUB_PATH
|
|
|
|
echo "/root/.cargo/bin:$PATH" >> $GITHUB_PATH
|
|
|
|
cargo install --debug cargo-audit cargo-watch rsign2
|
|
|
|
cargo install --debug cargo-audit cargo-watch rsign2
|
|
|
|
# - name: Get wasmception
|
|
|
|
- name: Get wasmception
|
|
|
|
# run: |
|
|
|
|
|
|
|
|
# wget $WASMCEPTION_URL -O wasmception.tar.gz
|
|
|
|
|
|
|
|
# mkdir -p awsm/wasmception
|
|
|
|
|
|
|
|
# tar xvfz wasmception.tar.gz -C awsm/wasmception
|
|
|
|
|
|
|
|
- name: Get WASI-SDK
|
|
|
|
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-8/wasi-sdk_8.0_amd64.deb && sudo dpkg -i wasi-sdk_8.0_amd64.deb && rm -f wasi-sdk_8.0_amd64.deb
|
|
|
|
wget $WASMCEPTION_URL -O wasmception.tar.gz
|
|
|
|
echo "ENV WASI_SDK=/opt/wasi-sdk" >> $GITHUB_ENV
|
|
|
|
mkdir -p awsm/wasmception
|
|
|
|
|
|
|
|
tar xvfz wasmception.tar.gz -C awsm/wasmception
|
|
|
|
|
|
|
|
# - name: Get WASI-SDK
|
|
|
|
|
|
|
|
# run: |
|
|
|
|
|
|
|
|
# curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-8/wasi-sdk_8.0_amd64.deb && sudo dpkg -i wasi-sdk_8.0_amd64.deb && rm -f wasi-sdk_8.0_amd64.deb
|
|
|
|
|
|
|
|
# echo "ENV WASI_SDK=/opt/wasi-sdk" >> $GITHUB_ENV
|
|
|
|
- name: Install Test Script Utilities
|
|
|
|
- name: Install Test Script Utilities
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
sudo apt-get install -y --no-install-recommends \
|
|
|
|
sudo apt-get install -y --no-install-recommends \
|
|
|
|