Skip to content

Add ToString methods #44

Add ToString methods

Add ToString methods #44

name: Mono Aot Validation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
strategy:
max-parallel: 1
matrix:
include:
- os: ubuntu-latest
rid: linux-x64
runs-on: ${{ matrix.os }}
env:
AppVeyorBuild: true
steps:
- uses: actions/checkout@v2
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Install Mono
run: sudo apt install mono-complete
- name: Restore dependencies
working-directory: src
run: dotnet restore
- name: Build
working-directory: src/Tests/CompileTests/NativeAot
run: dotnet build -c Release
- name: Run (No AOT)
working-directory: src/Tests/CompileTests/NativeAot/bin/Release/net472
run: mono NativeAot.exe
- name: AOT Compile mscorlib
run: sudo mono -O=all --aot=full /usr/lib/mono/4.5/mscorlib.dll
- name: AOT Compile Other Libs
run: for i in /usr/lib/mono/gac/*/*/*.dll; do sudo mono -O=all --aot=full $i; done
- name: AOT Exes
working-directory: src/Tests/CompileTests/NativeAot/bin/Release/net472
run: mono -O=all --aot=full *.exe
- name: AOT DLLs
working-directory: src/Tests/CompileTests/NativeAot/bin/Release/net472
run: mono -O=all --aot=full *.dll
- name: Run (AOT)
working-directory: src/Tests/CompileTests/NativeAot/bin/Release/net472
run: mono --full-aot NativeAot.exe
- name: Upload Files
uses: actions/upload-artifact@v3
with:
name: assembly
path: src/Tests/CompileTests/NativeAot/bin/**/*.*