From 40901fbf489308b27ca7984711997fdaa39a08ce Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 9 Dec 2024 19:59:34 -0500 Subject: [PATCH] Create aot-compatibility.yml --- .github/workflows/aot-compatibility.yml | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/aot-compatibility.yml diff --git a/.github/workflows/aot-compatibility.yml b/.github/workflows/aot-compatibility.yml new file mode 100644 index 0000000000..47a0ed4fd4 --- /dev/null +++ b/.github/workflows/aot-compatibility.yml @@ -0,0 +1,32 @@ +name: AOT Compatibility + +on: + push: + branches: [ 'master' ] + paths-ignore: + - '**.md' + pull_request: + branches: [ 'master' ] + paths-ignore: + - '**.md' + +jobs: + aot-test: + strategy: + fail-fast: false # ensures the entire test matrix is run, even if one permutation fails + matrix: + os: [ windows-latest ] + mailkitlite: [ true ] + + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # fetching all + + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + + - name: publish AOT testApp, assert static analysis warning count, and run the app + shell: pwsh + run: .\scripts\test-aot-compatibility.ps1 ${{ matrix.mailkitlite }}