Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Commit

Permalink
Expand CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
qmfrederik committed May 1, 2022
1 parent d58d0ce commit 7ec7930
Showing 1 changed file with 38 additions and 4 deletions.
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 find
- 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

0 comments on commit 7ec7930

Please sign in to comment.