Skip to content

Compiler: Add br_table opcode, fix label indexing #36

Compiler: Add br_table opcode, fix label indexing

Compiler: Add br_table opcode, fix label indexing #36

Workflow file for this run

name: .NET Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
id-token: write
contents: read
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup WABT
run: ./wabt.sh
working-directory: build
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --logger "trx;LogFileName=test-results.trx"
- uses: dorny/test-reporter@v1
if: always()
with:
name: Tests
path: '**/*.trx'
reporter: dotnet-trx
fail-on-error: true