From bc3fcdbb538ee0b6ecb6f2dc1c00f19b934e907f Mon Sep 17 00:00:00 2001 From: Liz Jeong Date: Fri, 19 Jul 2024 15:17:19 +0900 Subject: [PATCH] Fix CI/CD workflow files --- .github/workflows/build-linux-amd64.yml | 9 --------- Dockerfile.arm64 | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build-linux-amd64.yml b/.github/workflows/build-linux-amd64.yml index e187769..f3abe31 100644 --- a/.github/workflows/build-linux-amd64.yml +++ b/.github/workflows/build-linux-amd64.yml @@ -34,10 +34,6 @@ jobs: echo "GOOS=${GOOS}" echo "VERSION=${VERSION}" - - name: Find libwasmvm.so - run: | - find /go/pkg/mod -name "libwasmvm*.so" - - name: Build for Linux AMD64 run: | export GOARCH=${GOARCH} @@ -45,11 +41,6 @@ jobs: make build-linux-with-shared-library cd ./build mkdir -p miniwasm_${VERSION} - echo "Contents of build directory:" - ls -al - echo "Contents of /go/pkg/mod/github.com:" - ls -al /go/pkg/mod/github.com - ls /go/pkg/mod/github.com mv libwasmvm.so miniwasm_${VERSION}/libwasmvm.${ARCH_NAME}.so mv minitiad miniwasm_${VERSION}/ tar -czvf miniwasm_${VERSION}_Linux_${ARCH_NAME}.tar.gz miniwasm_${VERSION} diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index add7b7e..11d7f04 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -11,7 +11,7 @@ COPY . /code/ RUN LEDGER_ENABLED=false make build -RUN cp /go/pkg/mod/github.com/\!cosm\!wasm/wasmvm@v*/internal/api/libwasmvm.`uname -m`.so /lib/libwasmvm.so +RUN cp /go/pkg/mod/github.com/\!cosm\!wasm/wasmvm/v2@v*/internal/api/libwasmvm.`uname -m`.so /lib/libwasmvm.so FROM arm64v8/ubuntu:20.04