From 4ffc0c7b14b11f4eba733a3e12587bd26bbea31f Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 1 Apr 2021 11:51:50 -0400 Subject: [PATCH] chore: download wasmception --- .github/workflows/main.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 01e7254..d4808b3 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -5,7 +5,7 @@ on: [push, pull_request] env: LLVM_VERSION: 8 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 LANGUAGE: C.UTF-8 LC_ALL: C.UTF-8 @@ -56,15 +56,15 @@ jobs: sh -s -- --default-toolchain stable --component rustfmt --target wasm32-wasi -y echo "/root/.cargo/bin:$PATH" >> $GITHUB_PATH cargo install --debug cargo-audit cargo-watch rsign2 - # - 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 + - name: Get wasmception 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 + wget $WASMCEPTION_URL -O wasmception.tar.gz + 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 run: | sudo apt-get install -y --no-install-recommends \