Skip to content

Commit

Permalink
fix: the build error for macos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joinhack committed Apr 19, 2024
1 parent 48bda31 commit b63c2c4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/wasi-v86-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,16 @@ jobs:
uses: JesseTG/[email protected]
with:
path: target/${{ matrix.target }}/release/deps
- name: move Archive
run: |
echo "test"
cp -r term target/release
cp -r arch target/release
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ../../../v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
filename: ${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: upload artifact
Expand All @@ -94,5 +99,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |
v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
term
${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
10 changes: 7 additions & 3 deletions .github/workflows/wasi-v86-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@ jobs:
uses: JesseTG/[email protected]
with:
path: target/${{ matrix.target }}/release/deps
- name: move Archive
run: |
echo "test"
cp -r term target/release
cp -r arch target/release
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ../../../v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
filename: ${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: upload artifact
Expand All @@ -74,5 +79,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |
v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
term
${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
10 changes: 7 additions & 3 deletions .github/workflows/wasi-v86-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,16 @@ jobs:
uses: JesseTG/[email protected]
with:
path: target/${{ matrix.target }}/release/deps
- name: move Archive
run: |
echo "test"
cp -r term target/release
cp -r arch target/release
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ../../../v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
filename: ${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: upload artifact
Expand All @@ -71,5 +76,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |
v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
term
${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
2 changes: 1 addition & 1 deletion crates/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "MIT/Apache-2.0"
repository = "https://github.com/blocklessnetwork/v86-wasi"

[dependencies]
wasmtime = "19.0.0"
wasmtime = "19.0.2"
lazy_static = "1.4.0"
chrono = "0.4"
rand = "0.8"
Expand Down

0 comments on commit b63c2c4

Please sign in to comment.