Skip to content

Use TraceSwitch for RenderVisualization() debug logging #1062

Use TraceSwitch for RenderVisualization() debug logging

Use TraceSwitch for RenderVisualization() debug logging #1062

Workflow file for this run

name: Reko
on:
push:
branches: [ master, net6.0, msbuildify ]
pull_request:
branches: [ master, net6.0 ]
env:
MSBUILDDISABLENODEREUSE: 1
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: macos-latest
build_config: UnixRelease
- os: ubuntu-latest
build_config: UnixRelease
- os: windows-latest
build_config: Release
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install libcapstone-dev
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install capstone pkg-config
fi
- name: Clear Nuget Cache
shell: bash
run: dotnet nuget locals all --clear
- name: Build
shell: bash
env:
BUILD_CONFIG: ${{ matrix.build_config }}
run: dotnet msbuild -p:Platform=x64 -p:Configuration=$BUILD_CONFIG -t:build_solution -m ./src/BuildTargets/BuildTargets.csproj
- name: Unit Tests
shell: bash
run: dotnet msbuild -p:Platform=x64 -p:Configuration=Release -t:run_unit_tests -m ./src/BuildTargets/BuildTargets.csproj
- name: Regression Tests
shell: bash
run: dotnet msbuild -p:Platform=x64 -p:Configuration=Release -t:run_regressions -m ./src/BuildTargets/BuildTargets.csproj
- name: Create Runtime nupkg
shell: bash
env:
BUILD_CONFIG: ${{ matrix.build_config }}
run: dotnet msbuild -p:Platform=x64 -p:Configuration=Release -t:create_runtime_nupkg -m ./src/BuildTargets/BuildTargets.csproj
- name: Create Installer .msi
if: matrix.os == 'windows-latest'
run: dotnet msbuild -p:Platform=x64 -p:Configuration=Release -t:create_msi_wix -m ./src/BuildTargets/BuildTargets.csproj
- name: Create Release
shell: bash
env:
BUILD_CONFIG: ${{ matrix.build_config }}
run: dotnet msbuild -p:Platform=x64 -p:Configuration=Release -t:create_release -m ./src/BuildTargets/BuildTargets.csproj
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: reko-${{ matrix.os }}
if-no-files-found: warn
path: |
bin/WindowsDecompiler-*.zip
bin/CmdLine-*.zip
bin/*.msi
bin/*.nupkg
src/BuildTargets/build/run_regressions/regression.log