Compiler: Add if
opcode support, with brfalse
CIL compilation
#51
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
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 |