Skip to content

Adding Extended Const support #51

Adding Extended Const support

Adding Extended Const support #51

Workflow file for this run

name: wasm wast spec
on:
push:
branches: [ main ] # Trigger on pushes to the main branch
pull_request:
branches: [ main ] # Trigger on pull requests targeting the main branch
jobs:
build-and-test:
runs-on: ubuntu-latest # Use the latest Ubuntu runner
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'recursive'
- name: Synchronize Submodules
run: git submodule sync --recursive
- name: Update Submodules
run: git submodule update --init --recursive
- name: Verify Submodule Status
run: git submodule status
- name: Install WABT 1.0.36
run: |
wget https://github.com/WebAssembly/wabt/releases/download/1.0.36/wabt-1.0.36-ubuntu-20.04.tar.gz -O wabt.tar.gz
mkdir wabt
tar -xzf wabt.tar.gz -C wabt --strip-components=1
sudo cp wabt/bin/* /usr/local/bin/
- name: Verify WABT Installation
run: wast2json --version
- name: Run build_tests.sh script
working-directory: ./Spec.Test
run: |
chmod +x build_spec_tests.sh
./build_spec_tests.sh
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Restore Dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run Tests
run: dotnet test --configuration Release --no-build --verbosity normal Spec.Test/Spec.Test.csproj