Add status badges #4
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: AOT Compatible | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
env: | |
DOTNET_VERSION: "8.0.x" | |
jobs: | |
tests: | |
name: aot | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Publish AOT | |
run: cd ./src/Levenshtypo.Aot && dotnet publish --runtime linux-x64 --configuration Release | |