mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
glib (and friends!) linux build fixes (#204)
* glib linux build fixes * gobj-intr * include symlink step when testing, in case a subsequent test requires it * fix harfbuzz build Co-authored-by: Max Howell <mxcl@me.com>
This commit is contained in:
parent
370c0c7898
commit
6f156603b7
2 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,7 @@ build:
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
|
- --libdir={{prefix}}/lib
|
||||||
- --buildtype=release
|
- --buildtype=release
|
||||||
- -Dcairo=enabled
|
- -Dcairo=enabled
|
||||||
- -Dcoretext=enabled
|
- -Dcoretext=enabled
|
||||||
|
@ -35,7 +36,7 @@ build:
|
||||||
- -Dglib=enabled
|
- -Dglib=enabled
|
||||||
- -Dtests=disabled
|
- -Dtests=disabled
|
||||||
#FIXME or gir scanner fails
|
#FIXME or gir scanner fails
|
||||||
CC: clang
|
# CC: clang
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -32,6 +32,11 @@ async function test(self: Installation) {
|
||||||
const yml = await pantry.getYAML(self.pkg).parse()
|
const yml = await pantry.getYAML(self.pkg).parse()
|
||||||
const deps = await deps4(self.pkg)
|
const deps = await deps4(self.pkg)
|
||||||
const installations = await prepare(deps)
|
const installations = await prepare(deps)
|
||||||
|
|
||||||
|
// if we are testing multiple packages, they might not
|
||||||
|
// get linked when they're tested.
|
||||||
|
await link(self)
|
||||||
|
|
||||||
const env = useShellEnv({ installations: [self, ...installations] })
|
const env = useShellEnv({ installations: [self, ...installations] })
|
||||||
|
|
||||||
let text = undent`
|
let text = undent`
|
||||||
|
|
Loading…
Reference in a new issue