Skip to content

persistent resolver/protocol/provider selection; remove NyaLabs POW P… #83

persistent resolver/protocol/provider selection; remove NyaLabs POW P…

persistent resolver/protocol/provider selection; remove NyaLabs POW P… #83

Workflow file for this run

name: build-linux
on:
push:
branches:
- master
paths:
- "**/*.cs"
- "**/*.csproj"
- "**/*.resx"
- ".github/workflows/*.yml"
pull_request:
branches:
- master
types: [opened, synchronize, reopened]
paths:
- "**/*.cs"
- "**/*.csproj"
- "**/*.resx"
- ".github/workflows/*.yml"
jobs:
build:
strategy:
matrix:
runtime: [linux-x64]
include:
- runtime: linux-x64
artifact_path: ./bin/Gtk/Release/net8.0/linux-x64
self_contained: "--self-contained"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8
- name: Build for ${{ matrix.runtime }}
run: |
dotnet build OpenTrace.csproj --runtime ${{ matrix.runtime }} --configuration Release ${{ matrix.self_contained }} -f net8.0
- name: Make tarball
run: cd ${{ matrix.artifact_path }} && chmod +x ./OpenTrace && tar -cvzf ../${{ matrix.runtime }}.tar.gz ./
- name: Upload artifact for ${{ matrix.runtime }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.runtime }}.tar.gz
path: ./bin/Gtk/Release/net8.0/${{ matrix.runtime }}.tar.gz