Skip to content
This repository was archived by the owner on Jul 13, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,21 +231,54 @@ jobs:
path: |
${{ github.workspace }}/nuget/

test-linux-x64:
test-redhat-x64:
strategy:
matrix:
container: [ "centos:7", "rockylinux:8" ]
needs: native-linux-x64
runs-on: ubuntu-20.04
container: mcr.microsoft.com/dotnet/sdk:6.0-focal
container: ${{ matrix.container }}
env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
steps:
- run: |
yum install -y libvncserver turbojpeg findutils
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/download-artifact@v3
with:
name: libvnc-${{ github.run_id }}
path: libvnc/
- uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Test
run: |
export LD_LIBRARY_PATH="$(pwd)/libvnc/linux-x64/:$LD_LIBRARY_PATH"
dotnet test RemoteViewing.sln

test-debian-x64:
strategy:
matrix:
container: [ "ubuntu:xenial", "ubuntu:focal", "ubuntu:jammy" ]
needs: native-linux-x64
runs-on: ubuntu-20.04
container: ${{ matrix.container }}
steps:
- run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y libvncserver1 libturbojpeg libgdiplus
DEBIAN_FRONTEND=noninteractive apt-get install -y libvncserver1 libturbojpeg libgdiplus curl
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/download-artifact@v3
with:
name: libvnc-${{ github.run_id }}
path: libvnc/
- uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Test
run: |
export LD_LIBRARY_PATH="$(pwd)/libvnc/linux-x64/:$LD_LIBRARY_PATH"
Expand Down Expand Up @@ -275,7 +308,8 @@ jobs:
publish:
needs:
- build
- test-linux-x64
- test-debian-x64
- test-redhat-x64
- test-osx-x64
runs-on: ubuntu-20.04
container: mcr.microsoft.com/dotnet/sdk:6.0-focal
Expand Down