Bump xunit.runner.visualstudio from 2.5.0 to 2.5.3 #430
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: build-ci | |
on: | |
push: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
infer-csharp-pr-comment: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && github.actor != 'dependabot' | |
steps: | |
- name: Actor | |
run: | | |
echo GITHUB_ACTOR | |
echo ${{ github.actor }} | |
- name: Dotnet Core Install | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.* | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Platform build win-x64 | |
run: dotnet publish --self-contained -c ReleaseWindows -o artifacts/win-x64 -r win-x64 | |
- name: Platform build linux-x64 | |
run: dotnet publish --self-contained -c ReleaseLinux -o artifacts/linux-x64 -r linux-x64 | |
- name: Run InferCsharp win-x64 | |
uses: microsoft/[email protected] | |
id: runinfersharp-win-x64 | |
with: | |
binary-path: artifacts/win-x64 | |
- run: | | |
echo InferCsharp win-x64 Results > filtered-report.txt | |
cat infer-out/report.txt | grep -v ^\# >> filtered-report.txt | |
- name: PR Comment for win-x64 results | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: InferCsharp win-x64 Results | |
path: filtered-report.txt | |
- name: Run InferCsharp linux-x64 | |
uses: microsoft/[email protected] | |
id: runinfersharp-linux-x64 | |
with: | |
binary-path: artifacts/linux-x64 | |
- run: | | |
echo InferCsharp linux-x64 Results > filtered-report.txt | |
cat infer-out/report.txt | grep -v ^\# >> filtered-report.txt | |
- name: PR Comment for linux-x64 results | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: InferCsharp linux-x64 Results | |
path: filtered-report.txt | |
build-windows: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dotnet Core Install | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.* | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Platform build win-x64 | |
run: dotnet publish --self-contained -c ReleaseWindows -o artifacts -r win-x64 | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dotnet Core Install | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.* | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Platform build linux-x64 | |
run: dotnet publish --self-contained -c ReleaseLinux -o artifacts -r linux-x64 | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dotnet Core Install | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.* | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Platform build linux-x64 | |
run: dotnet publish --self-contained -c ReleaseLinux -o artifacts -r linux-x64 | |
- name: Build Docker Container | |
run: docker build -f Dockerfile artifacts | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dotnet Core Install | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.* | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Run Tests | |
run: dotnet test --verbosity q | |
build-manual: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Build Manual | |
id: build_manual | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: manual/cxanalytix.tex | |
work_in_root_file_dir: true | |
- name: list dir | |
run: ls -l manual | |
build-release-notes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Code | |
uses: actions/checkout@v3 | |
- name: Build Release Notes | |
id: build_release_notes | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: release_notes/release_notes.tex | |
work_in_root_file_dir: true |