Skip to content

Commit

Permalink
Fix CI/CD workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
Liz Jeong authored and Liz Jeong committed Jul 19, 2024
1 parent d3b9a43 commit bc3fcdb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build-linux-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,13 @@ 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}
export GOOS=${GOOS}
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}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bc3fcdb

Please sign in to comment.