mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 00:30:48 +03:00
~git-scm.org (#153)
build in debian-buster-slim rather than infuser since infuser currently has link bugs in gettext etc.
This commit is contained in:
parent
4f62062548
commit
8e253c55a6
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
container: ~
|
||||
- os: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/teaxyz/infuser:main
|
||||
image: debian:buster-slim
|
||||
options: --memory=16g
|
||||
container: ${{ matrix.container }}
|
||||
outputs:
|
||||
|
@ -57,8 +57,10 @@ jobs:
|
|||
run: |
|
||||
case ${{ matrix.os }} in
|
||||
ubuntu-latest)
|
||||
apt update
|
||||
#FIXME needed for gdk-pixbuf
|
||||
apt --yes install shared-mime-info
|
||||
apt --yes install libc-dev libstdc++-8-dev libgcc-8-dev bzip2 xz-utils patchelf file
|
||||
;;
|
||||
macos-11)
|
||||
# screws up a lot of build scripts
|
||||
|
@ -80,6 +82,9 @@ jobs:
|
|||
|
||||
- run: cli/scripts/install.ts ${{ steps.sorted.outputs.pre-install }}
|
||||
|
||||
#FIXME remove later
|
||||
- run: find /opt -name bin -type d -exec find {} -type f \; | xargs chmod 777
|
||||
|
||||
- run: pantry/scripts/build.ts ${{ steps.sorted.outputs.pkgs }}
|
||||
id: build
|
||||
env:
|
||||
|
|
|
@ -16,7 +16,7 @@ build:
|
|||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
cp {{pkg.pantry-prefix}}/config.mak .
|
||||
mv props/config.mak .
|
||||
|
||||
./configure $CONF
|
||||
make install $BAKE
|
||||
|
@ -26,11 +26,11 @@ build:
|
|||
env:
|
||||
V: 1
|
||||
BAKE:
|
||||
- --jobs {{hw.concurrency}}
|
||||
- --jobs {{ hw.concurrency }}
|
||||
- NO_TCLTK=1
|
||||
CONF:
|
||||
- --prefix={{prefix}}
|
||||
- --with-perl=/opt/perl.org/v*/bin/perl
|
||||
- --prefix={{ prefix }}
|
||||
- --with-perl={{ deps.perl.org.prefix }}
|
||||
INSTALL_STRIP: -s
|
||||
|
||||
test: |
|
||||
|
|
Loading…
Reference in a new issue