no need to rebuild these changes

This commit is contained in:
Max Howell 2022-08-31 14:05:21 -04:00
parent a48aad9a27
commit 52bb4c1d13
15 changed files with 21 additions and 18 deletions

View file

@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
projects:
description: A JSON string containing repository/version values to build
description: eg. `foo.com@1.2.3 bar.com@2.3.4`
required: true
type: string

View file

@ -12,10 +12,11 @@ build:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
rm -rf {{prefix}}/share # docs are online
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
cc {{ pkg.pantry-prefix }}/test.c -o test -lmpdec
cc test.c -o test -lmpdec
./test

View file

@ -41,6 +41,7 @@ build:
-- \
-DCMake_BUILD_LTO=ON
make --jobs {{ hw.concurrency }} install
rm -rf {{prefix}}/share/doc # docs are online
env:
#FIXME tea/cli does this for things that depend on cmake, but not for this
#FIXME this should at least be moustache variables per pkg

View file

@ -23,3 +23,5 @@ test:
script: |
curl -i tea.xyz
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
# TODO need to fix the .la file

View file

@ -22,6 +22,7 @@ build:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install RUN_FC_CACHE_TEST=false
rm -rf {{prefix}}/share/doc
test:
fc-list

View file

@ -31,10 +31,6 @@ build:
- -DBUILD_SHARED_LIBS=true
- -DCMAKE_INSTALL_PREFIX="{{ prefix }}"
- -DCMAKE_BUILD_TYPE=Release
# CC: clang
# CFLAGS: -fuse-ld=lld
# VERBOSE: 1
# CMAKE_PREFIX_PATH: /opt/libpng.org/v1:/opt/sourceware.org/bzip2/v1:/opt/zlib.net/v1
#FIXME
test: true

View file

@ -14,12 +14,15 @@ build:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
env:
darwin:
MACOSX_DEPLOYMENT_TARGET: 10.6 #FIXME our default (11) breaks the build
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
flex {{ pkg.pantry-prefix }}/test.flex
flex test.flex
cc lex.yy.c -lfl
OUT=$(echo "Hello World" | ./a.out)
test "$OUT" = "Hello

View file

@ -30,7 +30,6 @@ test:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
cp ${{ pkg.pantry-prefix }}/* .
aclocal
automake --add-missing --foreign
autoconf

View file

@ -26,7 +26,7 @@ test:
dependencies:
tea.xyz/gx/cc: c99
script: |
bison {{ pkg.pantry-prefix }}/test.y
bison test.y
c++ test.tab.c
test pass = $(echo "((()(())))()" | ./a.out)
test fail = $(echo "())" | ./a.out)

View file

@ -17,6 +17,6 @@ test:
dependencies:
tea.xyz/gx/cc: c99
script: |
cc {{ pkg.pantry-prefix }}/test.c -lexpat -o test
cc test.c -lexpat -o test
OUTPUT="$(./test)"
test "$OUTPUT" = "tag:str|data:Hello, world!|"

View file

@ -27,5 +27,5 @@ test:
dependencies:
tea.xyz/gx/cc: c99
script: |
cc {{ pkg.pantry-prefix }}/test.c -lpng
cc test.c -lpng
./a.out

View file

@ -61,6 +61,10 @@ build:
# internally passes flags that, in fact, expect `lld`
#NOTE yes this is an issue even if `ld` is in fact a symlink to `lld`
- -DCLANG_DEFAULT_LINKER=lld
darwin:
ARGS:
#FIXME shouldnt *have to* require the command line tools package
- -DDEFAULT_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
linux/x86-64:
ARGS:
# required to build something that works on linux/x86-64

View file

@ -29,5 +29,6 @@ test:
ninja-build.org: 1
tea.xyz/gx/cc: c99
script: |
meson {{ pkg.pantry-prefix }}
meson ..
test -f build.ninja
working-directory: build

View file

@ -11,7 +11,6 @@ dependencies:
openssl.org: 1.1
zlib.net: 1
build:
dependencies:
tea.xyz/gx/cc: c99

View file

@ -42,7 +42,6 @@ build:
ln -sf pip{{ version.marketing }} pip
env:
SHARE: /opt/python.org/share
ARGS:
- --prefix="{{ prefix }}"
# its 202x
@ -57,11 +56,8 @@ build:
# these two make our binary not portable
#- --enable-optimizations
#- --with-lto
# on macOS we probably will actually want to --enable-framework
# on macOS we want an option that is instead --enable-framework
- --enable-shared
# put data that doesnt vary between pythons in a consistent place
- --datarootdir="$SHARE"
- --datadir="$SHARE"
#FIXME get rid of these v*
OPENSSL_INCLUDES: /opt/openssl.org/v*/include