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 ede86f8 commit 4a676f7
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/build-darwin-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,29 +56,16 @@ jobs:
# && mv ./miniwasm_"$VERSION"_Darwin_"$ARCH_NAME".tar.gz $GITHUB_WORKSPACE/ \
# && rm -rf ./libmovevm.dylib ./libcompiler.dylib ./minitiad

- name: Build and Package for Darwin ADM64
- name: Build and Package for Darwin ARM64
run: |
cd ../miniwasm \
&& make build \
&& cd ./build \
&& echo "Contents of /Users/runner/go/pkg/mod/github.com/CosmWasm:" \
&& ls -l /Users/runner/go/pkg/mod/github.com/CosmWasm \
&& echo "Contents of /Users/runner/go/pkg/mod/github.com/CosmWasm/wasmvm@${WASMVM_VERSION}:" \
&& find /Users/runner/go/pkg/mod/github.com/CosmWasm/wasmvm@${WASMVM_VERSION} \
&& cp /Users/runner/go/pkg/mod/github.com/CosmWasm/wasmvm@${WASMVM_VERSION}/internal/api/libwasmvm.dylib ./ \
&& tar -czvf miniwasm_"${MINIWASM_VERSION}"_Darwin_"${ARCH_NAME}".tar.gz ./minitiad libwasmvm.dylib \
&& mv ./miniwasm_"${MINIWASM_VERSION}"_Darwin_"${ARCH_NAME}".tar.gz $GITHUB_WORKSPACE/ \
&& rm -rf ./libwasmvm.dylib ./minitiad
# - name: Build and Package for Darwin ADM642
# run: |
# cd ../miniwasm \
# && make build \
# && cd ./build \
# && ls ~/go/pkg/mod/github.com/CosmWasm/wasmvm* \
# && cp ~/go/pkg/mod/github.com/CosmWasm/wasmvm@${WASMVM_VERSION}/internal/api/libwasmvm.dylib ./ \
# && tar -czvf miniwasm_"$MINIWASM_VERSION"_Darwin_"$ARCH".tar.gz ./minitiad libwasmvm.dylib \
# && mv ./miniwasm_"$MINIWASM_VERSION"_Darwin_"$ARCH".tar.gz $GITHUB_WORKSPACE/ \
# && rm -rf ./libwasmvm.dylib ./minitiad
&& ls ~/go/pkg/mod/github.com/ \
&& cp ~/go/pkg/mod/github.com/CosmWasm/wasmvm/v2@*/internal/api/libwasmvm.dylib ./ \
&& tar -czvf miniwasm_"$MINIWASM_VERSION"_Darwin_"$ARCH".tar.gz ./minitiad libwasmvm.dylib \
&& mv ./miniwasm_"$MINIWASM_VERSION"_Darwin_"$ARCH".tar.gz $GITHUB_WORKSPACE/ \
&& rm -rf ./libwasmvm.dylib ./minitiad
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 4a676f7

Please sign in to comment.