Update Dockerfile.linux #294
Workflow file for this run
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: DotNet Instrumentation PR Build | |
on: | |
pull_request: | |
branches: | |
- main | |
- "release/v*" | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build on Linux | |
if: runner.os == 'Linux' | |
run: bash build.sh | |
- name: Build on Windows | |
if: runner.os == 'Windows' | |
run: .\build.cmd | |
- name: Test on Linux | |
if: runner.os == 'Linux' | |
run: dotnet test | |
- name: Test on Windows | |
if: runner.os == 'Windows' | |
run: dotnet test |