diff --git a/.github/workflows/stackguardtest.yml b/.github/workflows/stackguardtest.yml new file mode 100644 index 00000000000..c077cee2140 --- /dev/null +++ b/.github/workflows/stackguardtest.yml @@ -0,0 +1,44 @@ +name: stackguardtest + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + buildwin: + strategy: + matrix: + os: [windows-latest] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + - name: Restore tools + run: dotnet tool restore + - name: RunBenchmarkWindows + run: ./build.cmd -configuration Release -testBenchmarks + + buildunix: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + - name: Restore tools + run: dotnet tool restore + - name: fix xbit + run: chmod +x tests/benchmarks/SmokeTestBenchmarks.sh + - name: RunBenchmark + run: ./build.sh --configuration Release --testBenchmarks diff --git a/Directory.Build.props.user b/Directory.Build.props.user new file mode 100644 index 00000000000..781a0f7f7d6 --- /dev/null +++ b/Directory.Build.props.user @@ -0,0 +1,9 @@ + + + true + $(OtherFlags) --test:GraphBasedChecking --test:ParallelOptimization --test:ParallelIlxGen --test:DumpCheckingGraph --parallelreferenceresolution + true + true + $(NoWarn);FS1063 + + \ No newline at end of file