8000 Add github workflow for debian buster · dotdevelop/dotdevelop@b56d058 · GitHub
[go: up one dir, main page]

Skip to content

Commit b56d058

Browse files
committed
Add github workflow for debian buster
1 parent dfb2fd5 commit b56d058

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/monodevelop.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on:
55
branches:
66
- '*'
77
paths-ignore:
8-
- '**.md'
8+
- '**.md'
99
pull_request:
1010
branches:
1111
- '*'
1212

1313
jobs:
14-
linux:
14+
ubuntu2004:
1515

1616
runs-on: ubuntu-20.04
1717

@@ -24,3 +24,25 @@ jobs:
2424
run: |
2525
./configure --profile=gnome
2626
make
27+
28+
debian10:
29+
runs-on: ubuntu-20.04
30+
container:
31+
image: "debian:buster"
32+
steps:
33+
- name: Dependencies
34+
run: |
35+
apt update
36+
apt upgrade -y
37+
apt install git apt-transport-https dirmngr gnupg ca-certificates wget autoconf intltool build-essential sed -y
38+
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
39+
dpkg -i packages-microsoft-prod.deb
40+
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
41+
echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list
42+
apt update
43+
apt install mono-devel fsharp gtk-sharp2 dotnet-sdk-5.0 -y
44+
- uses: actions/checkout@v2
45+
- name: Configure and build
46+
run: |
47+
./configure --profile=gnome
48+
make

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ MSBUILD_LIBRARIES=Microsoft.Build.dll Microsoft.Build.Framework.dll Microsoft.Bu
2323
MSBUILD_DLLS=$(patsubst %, $(MSBUILD_PATH)/%, $(MSBUILD_LIBRARIES))
2424

2525
# Set $PATH to point to provisioned .NET Core and avoid the ones provisioned by VSTS itself
26-
all: export PATH:="/usr/local/share/dotnet:$(PATH)"
26+
all: export PATH:=/usr/local/share/dotnet:$(PATH)
2727
all: print_config update_submodules all-recursive
2828

2929
GIT_FOUND = $$(echo $$(which git))

0 commit comments

Comments
 (0)
0