mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
no need to rebuild these changes
This commit is contained in:
parent
a48aad9a27
commit
52bb4c1d13
15 changed files with 21 additions and 18 deletions
2
.github/workflows/new-version.yml
vendored
2
.github/workflows/new-version.yml
vendored
|
@ -3,7 +3,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
projects:
|
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
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,11 @@ build:
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix={{ prefix }}
|
./configure --prefix={{ prefix }}
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
rm -rf {{prefix}}/share # docs are online
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script: |
|
||||||
cc {{ pkg.pantry-prefix }}/test.c -o test -lmpdec
|
cc test.c -o test -lmpdec
|
||||||
./test
|
./test
|
||||||
|
|
|
@ -41,6 +41,7 @@ build:
|
||||||
-- \
|
-- \
|
||||||
-DCMake_BUILD_LTO=ON
|
-DCMake_BUILD_LTO=ON
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
rm -rf {{prefix}}/share/doc # docs are online
|
||||||
env:
|
env:
|
||||||
#FIXME tea/cli does this for things that depend on cmake, but not for this
|
#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
|
#FIXME this should at least be moustache variables per pkg
|
||||||
|
|
|
@ -23,3 +23,5 @@ test:
|
||||||
script: |
|
script: |
|
||||||
curl -i tea.xyz
|
curl -i tea.xyz
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
|
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
|
||||||
|
|
||||||
|
# TODO need to fix the .la file
|
||||||
|
|
|
@ -22,6 +22,7 @@ build:
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix={{ prefix }}
|
./configure --prefix={{ prefix }}
|
||||||
make --jobs {{ hw.concurrency }} install RUN_FC_CACHE_TEST=false
|
make --jobs {{ hw.concurrency }} install RUN_FC_CACHE_TEST=false
|
||||||
|
rm -rf {{prefix}}/share/doc
|
||||||
|
|
||||||
test:
|
test:
|
||||||
fc-list
|
fc-list
|
||||||
|
|
|
@ -31,10 +31,6 @@ build:
|
||||||
- -DBUILD_SHARED_LIBS=true
|
- -DBUILD_SHARED_LIBS=true
|
||||||
- -DCMAKE_INSTALL_PREFIX="{{ prefix }}"
|
- -DCMAKE_INSTALL_PREFIX="{{ prefix }}"
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -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
|
#FIXME
|
||||||
test: true
|
test: true
|
||||||
|
|
|
@ -14,12 +14,15 @@ build:
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix={{ prefix }}
|
./configure --prefix={{ prefix }}
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
darwin:
|
||||||
|
MACOSX_DEPLOYMENT_TARGET: 10.6 #FIXME our default (11) breaks the build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script: |
|
||||||
flex {{ pkg.pantry-prefix }}/test.flex
|
flex test.flex
|
||||||
cc lex.yy.c -lfl
|
cc lex.yy.c -lfl
|
||||||
OUT=$(echo "Hello World" | ./a.out)
|
OUT=$(echo "Hello World" | ./a.out)
|
||||||
test "$OUT" = "Hello
|
test "$OUT" = "Hello
|
||||||
|
|
|
@ -30,7 +30,6 @@ test:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
tea.xyz/gx/make: '*'
|
tea.xyz/gx/make: '*'
|
||||||
script: |
|
script: |
|
||||||
cp ${{ pkg.pantry-prefix }}/* .
|
|
||||||
aclocal
|
aclocal
|
||||||
automake --add-missing --foreign
|
automake --add-missing --foreign
|
||||||
autoconf
|
autoconf
|
||||||
|
|
|
@ -26,7 +26,7 @@ test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script: |
|
||||||
bison {{ pkg.pantry-prefix }}/test.y
|
bison test.y
|
||||||
c++ test.tab.c
|
c++ test.tab.c
|
||||||
test pass = $(echo "((()(())))()" | ./a.out)
|
test pass = $(echo "((()(())))()" | ./a.out)
|
||||||
test fail = $(echo "())" | ./a.out)
|
test fail = $(echo "())" | ./a.out)
|
||||||
|
|
|
@ -17,6 +17,6 @@ test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script: |
|
||||||
cc {{ pkg.pantry-prefix }}/test.c -lexpat -o test
|
cc test.c -lexpat -o test
|
||||||
OUTPUT="$(./test)"
|
OUTPUT="$(./test)"
|
||||||
test "$OUTPUT" = "tag:str|data:Hello, world!|"
|
test "$OUTPUT" = "tag:str|data:Hello, world!|"
|
||||||
|
|
|
@ -27,5 +27,5 @@ test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script: |
|
||||||
cc {{ pkg.pantry-prefix }}/test.c -lpng
|
cc test.c -lpng
|
||||||
./a.out
|
./a.out
|
||||||
|
|
|
@ -61,6 +61,10 @@ build:
|
||||||
# internally passes flags that, in fact, expect `lld`
|
# internally passes flags that, in fact, expect `lld`
|
||||||
#NOTE yes this is an issue even if `ld` is in fact a symlink to `lld`
|
#NOTE yes this is an issue even if `ld` is in fact a symlink to `lld`
|
||||||
- -DCLANG_DEFAULT_LINKER=lld
|
- -DCLANG_DEFAULT_LINKER=lld
|
||||||
|
darwin:
|
||||||
|
ARGS:
|
||||||
|
#FIXME shouldn’t *have to* require the command line tools package
|
||||||
|
- -DDEFAULT_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
|
||||||
linux/x86-64:
|
linux/x86-64:
|
||||||
ARGS:
|
ARGS:
|
||||||
# required to build something that works on linux/x86-64
|
# required to build something that works on linux/x86-64
|
||||||
|
|
|
@ -29,5 +29,6 @@ test:
|
||||||
ninja-build.org: 1
|
ninja-build.org: 1
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script: |
|
||||||
meson {{ pkg.pantry-prefix }}
|
meson ..
|
||||||
test -f build.ninja
|
test -f build.ninja
|
||||||
|
working-directory: build
|
||||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
||||||
openssl.org: 1.1
|
openssl.org: 1.1
|
||||||
zlib.net: 1
|
zlib.net: 1
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
|
|
|
@ -42,7 +42,6 @@ build:
|
||||||
ln -sf pip{{ version.marketing }} pip
|
ln -sf pip{{ version.marketing }} pip
|
||||||
|
|
||||||
env:
|
env:
|
||||||
SHARE: /opt/python.org/share
|
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{ prefix }}"
|
- --prefix="{{ prefix }}"
|
||||||
# it’s 202x
|
# it’s 202x
|
||||||
|
@ -57,11 +56,8 @@ build:
|
||||||
# these two make our binary not portable
|
# these two make our binary not portable
|
||||||
#- --enable-optimizations
|
#- --enable-optimizations
|
||||||
#- --with-lto
|
#- --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
|
- --enable-shared
|
||||||
# put data that doesn’t vary between pythons in a consistent place
|
|
||||||
- --datarootdir="$SHARE"
|
|
||||||
- --datadir="$SHARE"
|
|
||||||
|
|
||||||
#FIXME get rid of these v*
|
#FIXME get rid of these v*
|
||||||
OPENSSL_INCLUDES: /opt/openssl.org/v*/include
|
OPENSSL_INCLUDES: /opt/openssl.org/v*/include
|
||||||
|
|
Loading…
Reference in a new issue