Skip to content

variables

variables #82

Workflow file for this run

# name: GitHub action build
# on: push
# jobs:
# main-build:
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest, windows-latest, macos-latest]
# steps:
# - name: GIT checkout
# uses: actions/checkout@v4
# - name: Setup .NET 8
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: 8.0.x
# - name: Run build script
# working-directory: scripts
# shell: bash
# run: |
# if [ "$RUNNER_OS" == "Linux" ]; then
# ./dotnet_build.sh code_coverage
# else
# ./dotnet_build.sh
# fi
# - name: Run benchmarks
# working-directory: release
# shell: bash
# run: dotnet ../benchmarks/Fastenshtein.Benchmarking/bin/Release/net8.0/Fastenshtein.Benchmarking.dll
# - name: Upload benchmarks results
# uses: actions/upload-artifact@v4
# with:
# name: benchmarks-results-${{ matrix.os }}
# path: release/BenchmarkDotNet.Artifacts
# if-no-files-found: error
# - name: Upload test coverage to Coveralls
# if: runner.os == 'Linux'
# uses: coverallsapp/github-action@v2
# with:
# format: lcov
# files: release/coverage.net8.info release/coverage.net48.info
# - name: Upload dotnet info
# uses: actions/upload-artifact@v4
# if: runner.os == 'Linux'
# with:
# name: Built with
# path: release/dotnet_info.txt
# if-no-files-found: error
# - name: Upload test coverage
# uses: actions/upload-artifact@v4
# if: runner.os == 'Linux'
# with:
# name: test coverage
# path: release/coverage.*.info
# if-no-files-found: error
# - name: Upload NuGet packages
# uses: actions/upload-artifact@v4
# if: runner.os == 'Linux'
# with:
# name: NuGet packages
# path: release\Fastenshtein.*upkg
# if-no-files-found: error