~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:
Max Howell 2022-09-29 14:14:58 -04:00 committed by GitHub
parent 4f62062548
commit 8e253c55a6
2 changed files with 10 additions and 5 deletions

View file

@ -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:

View file

@ -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: |