Skip to content

Commit

Permalink
240130
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Jan 30, 2024
1 parent ad0489c commit 538b88d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- "*"
pull_request:
workflow_dispatch:

jobs:
linux:
Expand Down Expand Up @@ -117,3 +119,37 @@ jobs:
with:
name: wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}
path: wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}.tar.zst

windows:
name: windows-${{ matrix.arch }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
arch:
- x86_64
- aarch64
steps:

- name: checkout
uses: actions/checkout@v4

- name: install-deps
run: |
rustup target add ${{ matrix.arch }}-pc-windows-msvc
- name: build
run: |
mkdir wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }}
cargo install `
--all-features `
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
--target ${{ matrix.arch }}-pc-windows-msvc `
wasm-tools wizer wasmtime-cli
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }}
path: wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Static builds of `wasm-tools`, `wasmtime-cli`, `wizer` for
{x86_64,aarch64}-{linux,darwin}:

- `wasm-tools`: `v1.0.56`
- `wasm-tools`: `v1.0.57`
- `wasmtime-cli`: `v17.0.0`
- `wizer`: `v4.0.0`

0 comments on commit 538b88d

Please sign in to comment.