forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wasm-smith): sync with upstream (#4)
- Loading branch information
1 parent
9942645
commit 632359d
Showing
4,259 changed files
with
176,066 additions
and
22,624 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Build | ||
on: | ||
push: | ||
tags: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
name: Build wasm-tools | ||
runs-on: ${{ matrix.os }} | ||
if: github.event_name != 'push' || startsWith(github.ref, 'refs/tags/wasm-tools-') | ||
strategy: | ||
matrix: | ||
include: | ||
- build: x86_64-linux | ||
os: ubuntu-latest | ||
- build: x86_64-macos | ||
os: macos-latest | ||
- build: aarch64-macos | ||
os: macos-latest | ||
target: aarch64-apple-darwin | ||
- build: x86_64-windows | ||
os: windows-latest | ||
- build: aarch64-linux | ||
os: ubuntu-latest | ||
target: aarch64-unknown-linux-gnu | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- run: rustup update stable --no-self-update && rustup default stable | ||
- uses: bytecodealliance/wasmtime/.github/actions/[email protected] | ||
with: | ||
name: ${{ matrix.build }} | ||
- run: | | ||
echo CARGO_BUILD_TARGET=${{ matrix.target }} >> $GITHUB_ENV | ||
rustup target add ${{ matrix.target }} | ||
if: matrix.target != '' | ||
- run: $CENTOS cargo build --release | ||
- run: ./ci/build-tarballs.sh "${{ matrix.build }}" "${{ matrix.target }}" | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: bins-${{ matrix.build }} | ||
path: dist | ||
|
||
- uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'bytecodealliance/wasm-tools' | ||
with: | ||
files: "dist/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
target/ | ||
Cargo.lock | ||
publish | ||
|
||
# Generated by some fuzz targets. | ||
*.wasm | ||
*.wat | ||
test.config | ||
|
Oops, something went wrong.