chore: fix paths for CI

main
Sean McBride 4 years ago
parent f419cd4501
commit 675ee8c77c

@ -61,11 +61,11 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
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
- name: Get wasmception # - name: Get wasmception
run: | # run: |
wget $WASMCEPTION_URL -O wasmception.tar.gz # wget $WASMCEPTION_URL -O wasmception.tar.gz
mkdir -p awsm/wasmception # mkdir -p awsm/wasmception
tar xvfz wasmception.tar.gz -C awsm/wasmception # tar xvfz wasmception.tar.gz -C awsm/wasmception
# - name: Get WASI-SDK # - 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 # 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

@ -9,7 +9,7 @@ WASMCEPTION_URL=https://github.com/gwsystems/wasmception/releases/download/v0.2.
.PHONY: build .PHONY: build
build: build:
ifeq ($(ARCH),x86_64) ifeq ($(ARCH),x86_64)
cd /sledge/awsm/wasmception && wget ${WASMCEPTION_URL} -O wasmception.tar.gz && tar xvfz wasmception.tar.gz && rm wasmception.tar.gz cd ./awsm/wasmception && wget ${WASMCEPTION_URL} -O wasmception.tar.gz && tar xvfz wasmception.tar.gz && rm wasmception.tar.gz
endif endif
test -f ./${COMPILER}/wasmception/dist/bin/clang || make -C ${COMPILER}/wasmception test -f ./${COMPILER}/wasmception/dist/bin/clang || make -C ${COMPILER}/wasmception
@cd ${COMPILER} && cargo build --release && cd ${ROOT} @cd ${COMPILER} && cargo build --release && cd ${ROOT}

Loading…
Cancel
Save