Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use scarthgap branch in CI build #224

Merged
merged 11 commits into from
Jun 4, 2024
4 changes: 2 additions & 2 deletions .github/workflows/CI_github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
- master-next
- nanbield
- scarthgap
pull_request:

jobs:
Expand All @@ -19,7 +19,7 @@ jobs:
matrix:
dotnet_version: [8.0.301, 6.0.423]
mono_version: [6.12.0.182]
branch: [nanbield]
branch: [scarthgap]
arch: [x86-64, arm, arm64]
env:
name: build-and-test
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ meta-mono is an OpenEmbedded layer that builds dotNet, the mono runtime and mono

| Branch | Support Status* | Status of Build & Tests |
| ------ | --------------- | ----------------------- |
| scarthgap | Long Term Support (until Apr. 2028) | [![scarthgap](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=scarthgap&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| nanbield | May 2024 | [![nanbield](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=nanbield&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| kirkstone | Long Term Support (minimum Apr. 2024) | [![master](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=kirkstone&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| dunfell | Supported - Long Term Support (until Apr. 2024) | [![dunfell](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=dunfell&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
Expand Down
10 changes: 6 additions & 4 deletions recipes-mono/dotnet-helloworld/dotnet-helloworld_1.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ SRC_ARCH:x86-64 = "x64"
INSANE_SKIP:${PN} += "\
already-stripped \
staticdev \
buildpaths \
"

S = "${WORKDIR}/src"
Expand All @@ -41,10 +42,11 @@ do_compile () {
do_install () {
install -d ${D}/opt/
cp -r --no-preserve=ownership ${B}/${PN} ${D}/opt
}

if [ "${SRC_ARCH}" = "x64" ]; then
ln -s ${base_libdir} ${D}/lib64
fi
do_install:append:x86-64 () {
ln -s ${base_libdir} ${D}/lib64
}

FILES:${PN}:append = " /opt/${PN}/ /lib64"
FILES:${PN}:append = " /opt/${PN}/"
FILES:${PN}:append:x86-64 = " /opt/${PN}/ /lib64"
5 changes: 1 addition & 4 deletions recipes-mono/gtk-sharp/gtk-sharp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SUMMARY = "GUI toolkit for Mono"
DESCRIPTION = "GTK+ bindings for Mono"
SECTION = "devel/mono"
BUGTRACKER = "http://bugzilla.xamarin.com"
LICENSE = "LGPL-2.1"
LICENSE = "LGPL-2.1-only"
RDEPENDS:${PN}-dev += "perl"

inherit autotools
Expand Down Expand Up @@ -32,9 +32,6 @@ FILES:${PN}-dev = "\
${datadir}/* \
"

DIRFILES = "1"

do_install:append() {
find ${D} -name *.dll -exec chown -h root:root {} \;
}