Skip to content

Commit

Permalink
github: Bump wasmtime
Browse files Browse the repository at this point in the history
  • Loading branch information
remko committed Feb 24, 2024
1 parent 7be3aee commit feb2f9f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build-standalone:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
needs: build
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
14 changes: 7 additions & 7 deletions src/standalone/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ else
# Wasmtime (https://wasmtime.dev)
ifeq ($(OS),Windows_NT)

WASMTIME_DIR=wasmtime-v1.0.0-x86_64-mingw-c-api
WASMTIME_RELEASE_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v1.0.0/wasmtime-v1.0.0-x86_64-mingw-c-api.zip
WASMTIME_DIR=wasmtime-v18.0.0-x86_64-mingw-c-api
WASMTIME_RELEASE_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v18.0.0/wasmtime-v18.0.0-x86_64-mingw-c-api.zip
CC=gcc
CFLAGS=-DWASM_API_EXTERN=
LIBS=-luserenv -lole32 -lntdll -lws2_32 -lkernel32 -lbcrypt
Expand Down Expand Up @@ -48,16 +48,16 @@ UNAME_S=$(shell uname -s)
UNAME_P=$(shell uname -p)
ifeq ($(UNAME_S),Darwin)
ifeq ($(UNAME_P),arm)
WASMTIME_DIR=wasmtime-v1.0.1-aarch64-macos-c-api
WASMTIME_DIR=wasmtime-v18.0.0-aarch64-macos-c-api
PACKAGE_SUFFIX=arm64-macos
else
WASMTIME_DIR=wasmtime-v1.0.1-x86_64-macos-c-api
WASMTIME_DIR=wasmtime-v18.0.0-x86_64-macos-c-api
PACKAGE_SUFFIX=x86_64-macos
endif
WASMTIME_RELEASE_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v1.0.1/$(WASMTIME_DIR).tar.xz
WASMTIME_RELEASE_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v18.0.0/$(WASMTIME_DIR).tar.xz
else
WASMTIME_DIR=wasmtime-v1.0.1-x86_64-linux-c-api
WASMTIME_RELEASE_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v1.0.1/wasmtime-v1.0.1-x86_64-linux-c-api.tar.xz
WASMTIME_DIR=wasmtime-v18.0.0-x86_64-linux-c-api
WASMTIME_RELEASE_URL=https://github.com/bytecodealliance/wasmtime/releases/download/v18.0.0/wasmtime-v18.0.0-x86_64-linux-c-api.tar.xz
LIBS=-lpthread -lm -ldl
PACKAGE_SUFFIX=x86_64-linux
endif
Expand Down

0 comments on commit feb2f9f

Please sign in to comment.