Skip to content

Commit 3773c76

Browse files
committed
Add Linux build to CI
1 parent 0a15db2 commit 3773c76

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [windows-latest, macos-latest]
20+
os: [windows-latest, macos-latest, ubuntu-latest]
2121
configuration: [Release]
2222

2323
steps:
@@ -34,6 +34,16 @@ jobs:
3434
run: |
3535
brew install --cask mono-mdk
3636
37+
- name: Install Mono - Ubuntu
38+
if: matrix.os == 'ubuntu-latest'
39+
run: |
40+
sudo apt install ca-certificates gnupg
41+
sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
42+
sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
43+
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
44+
sudo apt update
45+
sudo apt install mono-complete mono-vbnc
46+
3747
- name: Build and pack
3848
run: make prepare build nuget CONFIGURATION=${{ matrix.configuration }}
3949

0 commit comments

Comments
 (0)