mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
pkgx
This commit is contained in:
parent
94f5037112
commit
81e7a5e16f
589 changed files with 160 additions and 1355 deletions
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"postAttachCommand": "sh <(curl https://tea.xyz) --yes && exec bash -i"
|
"postAttachCommand": "sh <(curl https://pkgx.sh) --yes && exec bash -i"
|
||||||
}
|
}
|
||||||
|
|
2
.github/actions/complain/action.yml
vendored
2
.github/actions/complain/action.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: tea/pantry/complain
|
name: pkgx/pantry/complain
|
||||||
description: creates an issue for failure conditions
|
description: creates an issue for failure conditions
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
|
|
2
.github/actions/request-qa/action.yml
vendored
2
.github/actions/request-qa/action.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: tea/pantry/request-qa
|
name: pkgx/pantry/request-qa
|
||||||
description: Requests QA for a new version of a project
|
description: Requests QA for a new version of a project
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
|
|
4
.github/deno.jsonc
vendored
4
.github/deno.jsonc
vendored
|
@ -3,12 +3,12 @@
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"strict": true
|
"strict": true
|
||||||
},
|
},
|
||||||
"tea": {
|
"pkgx": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"deno.land": "^1.30"
|
"deno.land": "^1.30"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"tea": "https://deno.land/x/libtea@v0.6.2/mod.ts"
|
"pkgx": "https://deno.land/x/libpkgx@v0.14.1/mod.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
.github/scripts/utils/args.ts
vendored
2
.github/scripts/utils/args.ts
vendored
|
@ -1,4 +1,4 @@
|
||||||
import { Installation, Package, PackageRequirement, hooks, utils } from "tea"
|
import { Installation, Package, PackageRequirement, hooks, utils } from "pkgx"
|
||||||
const { useCellar } = hooks
|
const { useCellar } = hooks
|
||||||
|
|
||||||
/// processes Deno.args unless STDIN is not a TTY and has input
|
/// processes Deno.args unless STDIN is not a TTY and has input
|
||||||
|
|
45
.github/workflows/bottle.yml
vendored
45
.github/workflows/bottle.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
cache-set: ${{ steps.platform.outputs.cache-set }}
|
cache-set: ${{ steps.platform.outputs.cache-set }}
|
||||||
available: ${{ steps.platform.outputs.available }}
|
available: ${{ steps.platform.outputs.available }}
|
||||||
steps:
|
steps:
|
||||||
- uses: teaxyz/brewkit/actions/get-platform@v0
|
- uses: pkgxdev/brewkit/actions/get-platform@v0
|
||||||
id: platform
|
id: platform
|
||||||
with:
|
with:
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
|
@ -44,16 +44,18 @@ jobs:
|
||||||
built: ${{ env.built }}
|
built: ${{ env.built }}
|
||||||
pr: ${{ env.PR }}
|
pr: ${{ env.PR }}
|
||||||
steps:
|
steps:
|
||||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||||
id: tea
|
id: pkgx
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
with:
|
||||||
|
prefix: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
if: ${{ inputs.new-version }}
|
if: ${{ inputs.new-version }}
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.platform }}
|
name: ${{ inputs.platform }}
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/fetch-pr-artifacts@v0
|
- uses: pkgxdev/brewkit/actions/fetch-pr-artifacts@v0
|
||||||
if: ${{ !inputs.new-version }}
|
if: ${{ !inputs.new-version }}
|
||||||
with:
|
with:
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
|
@ -64,59 +66,60 @@ jobs:
|
||||||
|
|
||||||
- name: clean destination
|
- name: clean destination
|
||||||
# Note: needed when changing a directory to a symlink, for example in
|
# Note: needed when changing a directory to a symlink, for example in
|
||||||
# https://github.com/teaxyz/pantry/pull/435
|
# https://github.com/pkgxdev/pantry/pull/435
|
||||||
run: |
|
run: |
|
||||||
tar tzf $GITHUB_WORKSPACE/artifacts.tgz | \
|
tar tzf $GITHUB_WORKSPACE/artifacts.tgz | \
|
||||||
awk '{ print length, $0 }' | \
|
awk '{ print length, $0 }' | \
|
||||||
sort -n -s -r | \
|
sort -n -s -r | \
|
||||||
cut -d" " -f2- | \
|
cut -d" " -f2- | \
|
||||||
xargs rm -rf
|
xargs rm -rf
|
||||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
working-directory: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- run: tar xzvf $GITHUB_WORKSPACE/artifacts.tgz
|
- run: tar xzvf $GITHUB_WORKSPACE/artifacts.tgz
|
||||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
working-directory: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
for file in built srcs; do
|
for file in built srcs; do
|
||||||
echo "$file=$(cat $file)" >>$GITHUB_ENV
|
echo "$file=$(cat $file)" >> $GITHUB_ENV
|
||||||
done
|
done
|
||||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
working-directory: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
tea +gnupg.org gpg-agent --daemon || true
|
pkgx +gnupg.org gpg-agent --daemon || true
|
||||||
echo $GPG_PRIVATE_KEY | \
|
echo $GPG_PRIVATE_KEY | \
|
||||||
base64 -d | \
|
base64 -d | \
|
||||||
tea +gnupg.org gpg --import --batch --yes
|
pkgx +gnupg.org gpg --import --batch --yes
|
||||||
env:
|
env:
|
||||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/bottle@v0
|
- uses: pkgxdev/brewkit/actions/bottle@v0
|
||||||
id: bottle-xz
|
id: bottle-xz
|
||||||
with:
|
with:
|
||||||
built: ${{ env.built }}
|
built: ${{ env.built }}
|
||||||
compression: xz
|
compression: xz
|
||||||
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
|
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
|
||||||
|
env:
|
||||||
|
XDG_CACHE_HOME: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/bottle@v0
|
- uses: pkgxdev/brewkit/actions/bottle@v0
|
||||||
id: bottle-gz
|
id: bottle-gz
|
||||||
with:
|
with:
|
||||||
built: ${{ env.built }}
|
built: ${{ env.built }}
|
||||||
compression: gz
|
compression: gz
|
||||||
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
|
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
|
||||||
|
env:
|
||||||
|
XDG_CACHE_HOME: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo ${{ steps.bottle-gz.outputs.bottles }} ${{ steps.bottle-xz.outputs.bottles }} >bottles
|
echo ${{ steps.bottle-gz.outputs.bottles }} ${{ steps.bottle-xz.outputs.bottles }} >bottles
|
||||||
echo ${{ steps.bottle-gz.outputs.checksums }} ${{ steps.bottle-xz.outputs.checksums }} >checksums
|
echo ${{ steps.bottle-gz.outputs.checksums }} ${{ steps.bottle-xz.outputs.checksums }} >checksums
|
||||||
echo ${{ steps.bottle-gz.outputs.signatures }} ${{ steps.bottle-xz.outputs.signatures }} >signatures
|
echo ${{ steps.bottle-gz.outputs.signatures }} ${{ steps.bottle-xz.outputs.signatures }} >signatures
|
||||||
|
|
||||||
SRCS=$(echo $srcs | tr -d '~')
|
|
||||||
|
|
||||||
tar cf $GITHUB_WORKSPACE/artifacts.tar \
|
tar cf $GITHUB_WORKSPACE/artifacts.tar \
|
||||||
$SRCS \
|
|
||||||
${{ steps.bottle-gz.outputs.bottles }} \
|
${{ steps.bottle-gz.outputs.bottles }} \
|
||||||
${{ steps.bottle-xz.outputs.bottles }} \
|
${{ steps.bottle-xz.outputs.bottles }} \
|
||||||
bottles checksums signatures
|
bottles checksums signatures
|
||||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
working-directory: ${{ github.workspace }}/.pkgx
|
||||||
|
|
||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -132,9 +135,9 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
qa-required: ${{ steps.upload.outputs.qa-required }}
|
qa-required: ${{ steps.upload.outputs.qa-required }}
|
||||||
steps:
|
steps:
|
||||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||||
with:
|
with:
|
||||||
prefix: ${{ github.workspace }}/.tea
|
prefix: ${{ github.workspace }}/.pkgx
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
@ -148,12 +151,12 @@ jobs:
|
||||||
echo "$file=$(cat $file)" >>$GITHUB_ENV
|
echo "$file=$(cat $file)" >>$GITHUB_ENV
|
||||||
done
|
done
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/upload@v0
|
- uses: pkgxdev/brewkit/actions/upload@v0
|
||||||
id: upload
|
id: upload
|
||||||
with:
|
with:
|
||||||
qa: ${{ inputs.new-version }}
|
qa: ${{ inputs.new-version }}
|
||||||
pkgs: ${{ needs.bottle.outputs.built }} ${{ needs.bottle.outputs.built }}
|
pkgs: ${{ needs.bottle.outputs.built }} ${{ needs.bottle.outputs.built }}
|
||||||
srcs: ${{ needs.bottle.outputs.srcs }} ${{ needs.bottle.outputs.srcs }}
|
srcs: '~'
|
||||||
bottles: ${{ env.bottles }}
|
bottles: ${{ env.bottles }}
|
||||||
checksums: ${{ env.checksums }}
|
checksums: ${{ env.checksums }}
|
||||||
signatures: ${{ env.signatures }}
|
signatures: ${{ env.signatures }}
|
||||||
|
|
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
cache-set: ${{ steps.platform.outputs.cache-set }}
|
cache-set: ${{ steps.platform.outputs.cache-set }}
|
||||||
available: ${{ steps.platform.outputs.available }}
|
available: ${{ steps.platform.outputs.available }}
|
||||||
steps:
|
steps:
|
||||||
- uses: teaxyz/brewkit/actions/get-platform@v0
|
- uses: pkgxdev/brewkit/actions/get-platform@v0
|
||||||
id: platform
|
id: platform
|
||||||
with:
|
with:
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
|
@ -33,10 +33,10 @@ jobs:
|
||||||
needs: [get-platform]
|
needs: [get-platform]
|
||||||
if: ${{ needs.get-platform.outputs.available != '' }}
|
if: ${{ needs.get-platform.outputs.available != '' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||||
id: tea
|
id: pkgx
|
||||||
with:
|
with:
|
||||||
prefix: /opt
|
prefix: /opt
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
run: sudo mv /usr/local/bin/* /tmp/
|
run: sudo mv /usr/local/bin/* /tmp/
|
||||||
|
|
||||||
# setup macOS codesigning
|
# setup macOS codesigning
|
||||||
- uses: teaxyz/brewkit/actions/setup-codesign@v0
|
- uses: pkgxdev/brewkit/actions/setup-codesign@v0
|
||||||
if: startsWith(inputs.platform, 'darwin+') && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
|
if: startsWith(inputs.platform, 'darwin+') && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
|
||||||
with:
|
with:
|
||||||
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
|
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
|
||||||
|
@ -58,22 +58,22 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
FORCE_UNSAFE_CONFIGURE: 1 # some configure scripts refuse to run as root
|
FORCE_UNSAFE_CONFIGURE: 1 # some configure scripts refuse to run as root
|
||||||
APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY || '-' }}
|
APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY || '-' }}
|
||||||
|
SRCROOT: ${{ github.workspace }}
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_$TEA_PREFIX/_" | tr '\n' ' ')
|
ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_/opt/_" | tr '\n' ' ')
|
||||||
echo "paths=$ABS_PATHS" >> $GITHUB_OUTPUT
|
echo "paths=$ABS_PATHS" >> $GITHUB_OUTPUT
|
||||||
if: startsWith(inputs.platform, 'darwin+')
|
if: startsWith(inputs.platform, 'darwin+')
|
||||||
id: absolute-paths
|
id: absolute-paths
|
||||||
env:
|
env:
|
||||||
PATHS: ${{ steps.build.outputs.relative-paths }}
|
PATHS: ${{ steps.build.outputs.relative-paths }}
|
||||||
TEA_PREFIX: ${{ steps.tea.outputs.prefix }}
|
|
||||||
|
|
||||||
# cache data we'll need in the bottling job
|
# cache data we'll need in the bottling job
|
||||||
- name: assemble artifact metadata
|
- name: assemble artifact metadata
|
||||||
run: |
|
run: |
|
||||||
echo ${{ steps.build.outputs.pkgs }} >built
|
echo ${{ steps.build.outputs.pkgs }} >built
|
||||||
echo ${{ steps.build.outputs.srcs-relative-paths }} >srcs
|
echo ${{ steps.build.outputs.srcs-relative-paths }} >srcs
|
||||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
working-directory: /opt
|
||||||
|
|
||||||
# tarring ourselves ∵ GHA-artifacts (ludicrously) lose permissions
|
# tarring ourselves ∵ GHA-artifacts (ludicrously) lose permissions
|
||||||
# /ref https://github.com/actions/upload-artifact/issues/38
|
# /ref https://github.com/actions/upload-artifact/issues/38
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
${{ steps.build.outputs.relative-paths }}
|
${{ steps.build.outputs.relative-paths }}
|
||||||
${{ steps.build.outputs.srcs-relative-paths }}
|
${{ steps.build.outputs.srcs-relative-paths }}
|
||||||
built srcs
|
built srcs
|
||||||
working-directory: ${{ steps.tea.outputs.prefix }}
|
working-directory: /opt
|
||||||
|
|
||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -103,8 +103,8 @@ jobs:
|
||||||
HAS_SECRETS: ${{ env.HAS_SECRETS }}
|
HAS_SECRETS: ${{ env.HAS_SECRETS }}
|
||||||
container: ${{ matrix.platform.container }}
|
container: ${{ matrix.platform.container }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
@ -113,24 +113,24 @@ jobs:
|
||||||
|
|
||||||
- name: clean destination
|
- name: clean destination
|
||||||
# Note: needed when changing a directory to a symlink, for example in
|
# Note: needed when changing a directory to a symlink, for example in
|
||||||
# https://github.com/teaxyz/pantry/pull/435
|
# https://github.com/pkgxdev/pantry/pull/435
|
||||||
run: |
|
run: |
|
||||||
|
cd $HOME/.pkgx
|
||||||
tar tzf $GITHUB_WORKSPACE/artifacts.tgz | \
|
tar tzf $GITHUB_WORKSPACE/artifacts.tgz | \
|
||||||
awk '{ print length, $0 }' | \
|
awk '{ print length, $0 }' | \
|
||||||
sort -n -s -r | \
|
sort -n -s -r | \
|
||||||
cut -d" " -f2- | \
|
cut -d" " -f2- | \
|
||||||
xargs rm -rf
|
xargs rm -rf
|
||||||
working-directory: ${{ env.TEA_PREFIX }}
|
|
||||||
|
|
||||||
- name: extract bottles
|
- name: extract bottles
|
||||||
run: tar xzvf artifacts.tgz -C $TEA_PREFIX
|
run: tar xzvf artifacts.tgz -C $HOME/.pkgx
|
||||||
|
|
||||||
- run: pkg test ${{ needs.get-platform.outputs.available }}
|
- run: pkg test ${{ needs.get-platform.outputs.available }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
# FIXME: this shouldn't be necessary, but it currently is for the
|
# FIXME: this shouldn't be necessary, but it currently is for the
|
||||||
# ubuntu+container test matrix entries. :/
|
# ubuntu+container test matrix entries. :/
|
||||||
TEA_PANTRY_PATH: ${{ github.workspace }}
|
PKGX_PANTRY_PATH: ${{ github.workspace }}
|
||||||
|
|
||||||
- name: "[post]"
|
- name: "[post]"
|
||||||
run: echo "HAS_SECRETS=$HAS_SECRETS" >>$GITHUB_ENV
|
run: echo "HAS_SECRETS=$HAS_SECRETS" >>$GITHUB_ENV
|
||||||
|
@ -140,14 +140,14 @@ jobs:
|
||||||
stage:
|
stage:
|
||||||
needs: [get-platform, test]
|
needs: [get-platform, test]
|
||||||
# this only works for PRs from our team to our repo (security! :( )
|
# this only works for PRs from our team to our repo (security! :( )
|
||||||
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'teaxyz' && needs.test.outputs.HAS_SECRETS == 'true' && needs.get-platform.outputs.available != ''
|
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'pkgxdev' && needs.test.outputs.HAS_SECRETS == 'true' && needs.get-platform.outputs.available != ''
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.platform }}
|
name: ${{ inputs.platform }}
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/stage-build-artifacts@v0
|
- uses: pkgxdev/brewkit/actions/stage-build-artifacts@v0
|
||||||
with:
|
with:
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
AWS_S3_BUCKET: ${{ secrets.AWS_S3_CACHE }}
|
AWS_S3_BUCKET: ${{ secrets.AWS_S3_CACHE }}
|
||||||
|
|
8
.github/workflows/cd.yml
vendored
8
.github/workflows/cd.yml
vendored
|
@ -12,13 +12,13 @@ jobs:
|
||||||
has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }}
|
has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }}
|
||||||
platforms: ${{ steps.has-artifacts.outputs.platforms }}
|
platforms: ${{ steps.has-artifacts.outputs.platforms }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
# ^^ NOTE probably no longer required but I don’t dare try to remove it
|
# ^^ NOTE probably no longer required but I don’t dare try to remove it
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/setup-brewkit@v0
|
- uses: pkgxdev/brewkit/actions/setup-brewkit@v0
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
- uses: teaxyz/brewkit/actions/has-artifacts@v0
|
- uses: pkgxdev/brewkit/actions/has-artifacts@v0
|
||||||
id: has-artifacts
|
id: has-artifacts
|
||||||
with:
|
with:
|
||||||
repo: ${{ github.repository }}
|
repo: ${{ github.repository }}
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
aws-region: us-east-1
|
aws-region: us-east-1
|
||||||
- run: |
|
- run: |
|
||||||
REPO=$(echo ${{github.repository}} | sed -e 's_teaxyz/__')
|
REPO=$(echo ${{github.repository}} | sed -e 's_pkgxdev/__')
|
||||||
|
|
||||||
if test -z "$PR"; then
|
if test -z "$PR"; then
|
||||||
echo "no PR to clean up"
|
echo "no PR to clean up"
|
||||||
|
|
6
.github/workflows/cleanup.yml
vendored
6
.github/workflows/cleanup.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
# cleans up our S3 staging area if a PR is closed without merge
|
# cleans up our S3 staging area if a PR is closed without merge
|
||||||
|
|
||||||
name: teaxyz s3 cleanup
|
name: pkgx/s3-cleanup
|
||||||
run-name: 'cleanup: ${{ github.event.pull_request.title }}'
|
run-name: 'cleanup: ${{ github.event.pull_request.title }}'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -21,10 +21,10 @@ jobs:
|
||||||
|
|
||||||
- name: remove staged artifacts
|
- name: remove staged artifacts
|
||||||
run: |
|
run: |
|
||||||
REPO=$(echo ${{github.repository}} | sed -e 's_teaxyz/__')
|
REPO=$(echo ${{github.repository}} | sed -e 's_pkgxdev/__')
|
||||||
PR=$(echo ${{github.ref}} | sed -e 's_refs/pull/\(.*\)/merge_\1_')
|
PR=$(echo ${{github.ref}} | sed -e 's_refs/pull/\(.*\)/merge_\1_')
|
||||||
|
|
||||||
aws s3 rm --recursive s3://$AWS_S3_CACHE/pull-request/$REPO/$PR
|
aws s3 rm --recursive s3://$AWS_S3_CACHE/pull-request/$REPO/$PR
|
||||||
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'teaxyz'
|
if: startsWith(github.ref, 'refs/pull/') && github.repository_owner == 'pkgxdev'
|
||||||
env:
|
env:
|
||||||
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
|
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
|
4
.github/workflows/new-version.yml
vendored
4
.github/workflows/new-version.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
project: ${{ fromJson(needs.bottle.outputs.qa-required) }}
|
project: ${{ fromJson(needs.bottle.outputs.qa-required) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: teaxyz/pantry/.github/actions/request-qa@main
|
- uses: pkgxdev/pantry/.github/actions/request-qa@main
|
||||||
with:
|
with:
|
||||||
project: ${{ matrix.project }}
|
project: ${{ matrix.project }}
|
||||||
slack-webhook: ${{ secrets.SLACK_QA_WEBHOOK }}
|
slack-webhook: ${{ secrets.SLACK_QA_WEBHOOK }}
|
||||||
|
@ -62,7 +62,7 @@ jobs:
|
||||||
issues: write
|
issues: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: teaxyz/pantry/.github/actions/complain@main
|
- uses: pkgxdev/pantry/.github/actions/complain@main
|
||||||
with:
|
with:
|
||||||
projects: ${{ inputs.projects }}
|
projects: ${{ inputs.projects }}
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
|
|
55
README.md
55
README.md
|
@ -1,36 +1,17 @@
|
||||||
![tea](https://tea.xyz/banner.png)
|
![pkgx](https://pkgx.dev/banner.png)
|
||||||
|
|
||||||
# What is a Pantry?
|
|
||||||
|
|
||||||
Pantries provide consistent metadata about open source packages. This
|
|
||||||
metadata shouldn’t require manual collection, but at this current state in
|
|
||||||
open source it does.
|
|
||||||
|
|
||||||
It is collected and duplicated thousands of times. A huge waste of effort.
|
|
||||||
|
|
||||||
tea aims to eradicate this wasted effort, though unfortunately, the journey
|
|
||||||
there will require—to some extent—doing that duplication one more time.
|
|
||||||
|
|
||||||
## Doing it a Little Better This Time
|
|
||||||
|
|
||||||
Our format is YAML, which is at least non-proprietary and could be used by
|
|
||||||
other tools without an independent parser. And we’re pulling in data from
|
|
||||||
other sources as much as possible, eg. versions are taken from the
|
|
||||||
“source” whenever possible.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
pkg metadata and build instructions.
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Assuming you have tea (w/magic) installed:
|
Assuming you have `pkgx` with shell integration:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git clone https://github.com/teaxyz/pantry
|
$ git clone https://github.com/pkgxdev/pantry
|
||||||
|
|
||||||
$ cd pantry
|
$ cd pantry
|
||||||
# all the following commands operate in `./tea.out`
|
|
||||||
# your tea installation remains untouched
|
$ dev
|
||||||
|
|
||||||
$ pkg init
|
$ pkg init
|
||||||
# ^^ creates a “wip” package.yml
|
# ^^ creates a “wip” package.yml
|
||||||
|
@ -40,6 +21,7 @@ $ pkg edit
|
||||||
# ^^ opens the new package.yml in your EDITOR
|
# ^^ opens the new package.yml in your EDITOR
|
||||||
|
|
||||||
$ pkg build
|
$ pkg build
|
||||||
|
# builds to `./builds`
|
||||||
# ^^ needs a zero permissions GITHUB_TOKEN to use the GitHub API
|
# ^^ needs a zero permissions GITHUB_TOKEN to use the GitHub API
|
||||||
# either set `GITHUB_TOKEN` or run `gh auth login`
|
# either set `GITHUB_TOKEN` or run `gh auth login`
|
||||||
|
|
||||||
|
@ -55,32 +37,29 @@ $ git push origin my-new-package
|
||||||
$ gh pr create
|
$ gh pr create
|
||||||
```
|
```
|
||||||
|
|
||||||
> * `pkg` can be run without magic via `tea -E pkg` (this dev-env provides `+tea.xyz/brewkit`).
|
|
||||||
> * `gh` can be run without magic via `tea gh`.
|
|
||||||
> * `git` can be run without magic via `tea git`.
|
|
||||||
> * `pkg build` and `pkg test` take a `-L` flag to run in a Linux Docker container
|
> * `pkg build` and `pkg test` take a `-L` flag to run in a Linux Docker container
|
||||||
> * All commands take an optional pkg-spec eg. `pkg build zlib.net^1.1`
|
> * All commands take an optional pkg-spec eg. `pkg build zlib.net^1.1`
|
||||||
|
|
||||||
While inside a pantry dev-env you can run commands from any built packages
|
While inside the pantry `dev` environment you can run commands from any built
|
||||||
provided you specified their `provides:` key.
|
packages provided you specified their `provides:` key.
|
||||||
|
|
||||||
## GitHub Codespaces
|
## GitHub Codespaces
|
||||||
|
|
||||||
`pantry` also works in GitHub Codespaces. The default configuration
|
`pantry` also works in GitHub Codespaces. The default configuration
|
||||||
provides with the repository will install/update `tea` at the time
|
provides with the repository will install/update `pkgx` at the time
|
||||||
you attach, so you should be able to quickly work on or test packages
|
you attach, so you should be able to quickly work on or test packages
|
||||||
in a remote linux environment (or work from a device with just a web browser).
|
in a remote linux environment (or work from a device with just a web browser).
|
||||||
|
|
||||||
## Providers
|
## Providers
|
||||||
|
|
||||||
If the package you want to add to tea can be executed simply eg. you want
|
If the package you want to add to the pantry can be executed simply eg. you
|
||||||
`foo` to run `npx foo`, then you can add a one-line entry to
|
want `foo` to run `npx foo`, then you can add a one-line entry to
|
||||||
[`npmjs.com/provider.yml`].
|
[`npmjs.com/provider.yml`].
|
||||||
|
|
||||||
We currently also support this for `pipx`. Adding support for other such
|
We currently also support this for `pipx`. Adding support for other such
|
||||||
dependency manager execution handlers is easy and welcome.
|
dependency manager execution handlers is easy and welcome.
|
||||||
|
|
||||||
At this time, if the package has tea dependencies or requires compilation,
|
At this time, if the package has `pkgx` dependencies or requires compilation,
|
||||||
it should be packaged as a `package.yml`.
|
it should be packaged as a `package.yml`.
|
||||||
|
|
||||||
## Packaging Guide
|
## Packaging Guide
|
||||||
|
@ -94,7 +73,7 @@ For other assistance, start a [discussion].
|
||||||
We build “bottles” (tar’d binaries) and upload them to both our centralized
|
We build “bottles” (tar’d binaries) and upload them to both our centralized
|
||||||
bottle storage and decentralized [IPFS].
|
bottle storage and decentralized [IPFS].
|
||||||
|
|
||||||
tea automatically builds new releases of packages *as soon as they are
|
The pantry automatically builds new releases of packages *as soon as they are
|
||||||
released* (usually starting the builds within seconds). There is no need to
|
released* (usually starting the builds within seconds). There is no need to
|
||||||
submit PRs for updates.
|
submit PRs for updates.
|
||||||
|
|
||||||
|
@ -107,14 +86,14 @@ with their pull request then you can use GitHub’s CLI:
|
||||||
$ gh pr checkout 123
|
$ gh pr checkout 123
|
||||||
|
|
||||||
# or you can copy paste the URL:
|
# or you can copy paste the URL:
|
||||||
$ gh pr checkout https://github.com/teaxyz/pantry/pull/123
|
$ gh pr checkout https://github.com/pkgxdev/pantry/pull/123
|
||||||
|
|
||||||
# then open for editing:
|
# then open for editing:
|
||||||
$ pkg edit
|
$ pkg edit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
[wiki]: https://github.com/teaxyz/pantry/wiki
|
[wiki]: https://github.com/pkgxdev/pantry/wiki
|
||||||
[discussion]: https://github.com/orgs/teaxyz/discussions
|
[discussion]: https://github.com/orgs/pkgxdev/discussions
|
||||||
[IPFS]: https://ipfs.tech
|
[IPFS]: https://ipfs.tech
|
||||||
[`npmjs.com/provider.yml`]: ./projects/npmjs.com/provider.yml
|
[`npmjs.com/provider.yml`]: ./projects/npmjs.com/provider.yml
|
||||||
|
|
5
pkgx.yaml
Normal file
5
pkgx.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/brewkit: ^0.46
|
||||||
|
env:
|
||||||
|
PKGX_PANTRY_PATH: ${{srcroot}}
|
||||||
|
SRCROOT: ${{srcroot}}
|
|
@ -8,8 +8,6 @@ versions:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
|
@ -43,7 +41,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
ls -l
|
ls -l
|
||||||
c++ -std=c++17 -I{{ prefix }}/include -L{{ prefix }}/lib -labsl_strings test.cc
|
c++ -std=c++17 -I{{ prefix }}/include -L{{ prefix }}/lib -labsl_strings test.cc
|
||||||
|
|
|
@ -19,7 +19,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script:
|
script:
|
||||||
# `pip install` seems to miss some vital .json files, so we must manually copy
|
# `pip install` seems to miss some vital .json files, so we must manually copy
|
||||||
# we copy everything as we're not 100% sure which files are missing
|
# we copy everything as we're not 100% sure which files are missing
|
||||||
|
|
|
@ -14,8 +14,6 @@ platforms:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./configure $ARGS
|
- ./configure $ARGS
|
||||||
|
@ -33,7 +31,6 @@ provides:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script:
|
script:
|
||||||
- cc test.c -lasound -o test
|
- cc test.c -lasound -o test
|
||||||
- ./test
|
- ./test
|
|
@ -12,9 +12,7 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
x86-64:
|
x86-64:
|
||||||
nasm.us: 2
|
nasm.us: 2
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
working-directory:
|
working-directory:
|
||||||
out
|
out
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -10,8 +10,6 @@ provides:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
apache.org/apr: '*'
|
apache.org/apr: '*'
|
||||||
openssl.org: '*'
|
openssl.org: '*'
|
||||||
libexpat.github.io: '*'
|
libexpat.github.io: '*'
|
||||||
|
|
|
@ -7,8 +7,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }}
|
make --jobs {{ hw.concurrency }}
|
||||||
|
@ -37,7 +35,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
fixture: |
|
fixture: |
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <apr-1/apr_version.h>
|
#include <apr-1/apr_version.h>
|
||||||
|
|
|
@ -23,8 +23,6 @@ dependencies:
|
||||||
facebook.com/zstd: '*'
|
facebook.com/zstd: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
boost.org: '*'
|
boost.org: '*'
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
llvm.org: ~16
|
llvm.org: ~16
|
||||||
|
@ -78,7 +76,6 @@ provides:
|
||||||
- bin/parquet-scan
|
- bin/parquet-scan
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
script:
|
script:
|
||||||
- run: |
|
- run: |
|
||||||
|
|
|
@ -27,8 +27,6 @@ runtime:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/libtool: '*'
|
gnu.org/libtool: '*'
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -24,8 +24,6 @@ dependencies:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
swig.org: ^4
|
swig.org: ^4
|
||||||
python.org: ^3.11
|
python.org: ^3.11
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
gnu.org/libtool: '*'
|
gnu.org/libtool: '*'
|
||||||
|
|
|
@ -18,7 +18,6 @@ build:
|
||||||
rust-lang.org: '>=1.65'
|
rust-lang.org: '>=1.65'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
freedesktop.org/pkg-config: ^0
|
freedesktop.org/pkg-config: ^0
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script:
|
script:
|
||||||
cargo install --locked --path . --root {{prefix}}
|
cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@ versions:
|
||||||
github: argoproj/argo-cd
|
github: argoproj/argo-cd
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
go.dev: '*'
|
go.dev: '*'
|
||||||
nodejs.org: '*'
|
nodejs.org: '*'
|
||||||
yarnpkg.com: '*'
|
yarnpkg.com: '*'
|
||||||
|
|
|
@ -17,8 +17,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnupg.org/libgcrypt: ^1
|
gnupg.org/libgcrypt: ^1
|
||||||
gnupg.org/libgpg-error: ^1
|
gnupg.org/libgpg-error: ^1
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
|
|
|
@ -12,8 +12,6 @@ dependencies:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rubygems.org: '*'
|
rubygems.org: '*'
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
env:
|
env:
|
||||||
GEM_HOME: ${{prefix}}
|
GEM_HOME: ${{prefix}}
|
||||||
GEM_PATH: ${{prefix}}
|
GEM_PATH: ${{prefix}}
|
||||||
|
|
|
@ -26,8 +26,6 @@ runtime:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
gnu.org/sed: '*'
|
gnu.org/sed: '*'
|
||||||
|
|
|
@ -7,7 +7,6 @@ dependencies:
|
||||||
zlib.net: '*'
|
zlib.net: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
ninja-build.org: '*'
|
ninja-build.org: '*'
|
||||||
|
@ -38,7 +37,6 @@ provides:
|
||||||
- bin/assimp
|
- bin/assimp
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script:
|
script:
|
||||||
- cc -std=c++11 test.cpp -lassimp -o test
|
- cc -std=c++11 test.cpp -lassimp -o test
|
||||||
- ./test
|
- ./test
|
||||||
|
|
|
@ -12,7 +12,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
gnu.org/bison: '*'
|
gnu.org/bison: '*'
|
||||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: "*"
|
|
||||||
rust-lang.org: ">=1.48.0" # needed for cryptography
|
rust-lang.org: ">=1.48.0" # needed for cryptography
|
||||||
rust-lang.org/cargo: "*"
|
rust-lang.org/cargo: "*"
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -10,8 +10,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
make LDFLAGS=-lz PREFIX={{prefix}} install
|
make LDFLAGS=-lz PREFIX={{prefix}} install
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,6 @@ versions:
|
||||||
build:
|
build:
|
||||||
working-directory: crates/biome_cli
|
working-directory: crates/biome_cli
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
rust-lang.org: '>=1.65'
|
rust-lang.org: '>=1.65'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -17,8 +17,6 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/autoconf: ^2
|
gnu.org/autoconf: ^2
|
||||||
gnu.org/automake: ^1
|
gnu.org/automake: ^1
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
gnu.org/libtool: ^2
|
gnu.org/libtool: ^2
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -9,7 +9,6 @@ versions:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script:
|
script:
|
||||||
- ./bootstrap.sh --prefix={{ prefix }}
|
- ./bootstrap.sh --prefix={{ prefix }}
|
||||||
- ./b2 $ARGS
|
- ./b2 $ARGS
|
||||||
|
@ -39,7 +37,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
c++ test.cpp -std=c++14 -lboost_iostreams -lzstd
|
c++ test.cpp -std=c++14 -lboost_iostreams -lzstd
|
||||||
./a.out
|
./a.out
|
||||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix={{ prefix }}
|
./configure --prefix={{ prefix }}
|
||||||
make --jobs {{hw.concurrency}}
|
make --jobs {{hw.concurrency}}
|
||||||
|
@ -25,7 +23,6 @@ build:
|
||||||
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
|
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
cc test.c -o test -lmpdec
|
cc test.c -o test -lmpdec
|
||||||
./test
|
./test
|
||||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
working-directory: build
|
working-directory: build
|
||||||
script: |
|
script: |
|
||||||
|
@ -21,7 +19,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
fixture: |
|
fixture: |
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ares.h>
|
#include <ares.h>
|
||||||
|
|
|
@ -10,8 +10,6 @@ versions:
|
||||||
- /.tar.xz/
|
- /.tar.xz/
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
libpng.org: 1
|
libpng.org: 1
|
||||||
pixman.org: ^0.40.0
|
pixman.org: ^0.40.0
|
||||||
freetype.org: 2
|
freetype.org: 2
|
||||||
|
@ -58,7 +56,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script:
|
script:
|
||||||
- cc test.c -lcairo
|
- cc test.c -lcairo
|
||||||
- ./a.out
|
- ./a.out
|
||||||
|
|
|
@ -11,8 +11,6 @@ provides:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./make.sh
|
./make.sh
|
||||||
make install PREFIX={{ prefix }}
|
make install PREFIX={{ prefix }}
|
||||||
|
@ -28,7 +26,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
mv $FIXTURE test.c
|
mv $FIXTURE test.c
|
||||||
gcc test.c -lcapstone -o test
|
gcc test.c -lcapstone -o test
|
||||||
|
|
|
@ -11,8 +11,6 @@ provides:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
#pagure.io/xmlto: '*'
|
#pagure.io/xmlto: '*'
|
||||||
|
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -8,8 +8,6 @@ dependencies:
|
||||||
facebook.com/zstd: '*'
|
facebook.com/zstd: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
asciidoctor.org: '*'
|
asciidoctor.org: '*'
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
|
|
|
@ -6,8 +6,6 @@ versions:
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ^3.11
|
python.org: ^3.11
|
||||||
build:
|
build:
|
||||||
dependencies:
|
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
script:
|
script:
|
||||||
- python-venv.sh {{prefix}}/bin/certbot
|
- python-venv.sh {{prefix}}/bin/certbot
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
script: |
|
script: |
|
||||||
cmake -S . -B build $ARGS
|
cmake -S . -B build $ARGS
|
||||||
|
|
|
@ -11,8 +11,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
chiark.greenend.org.uk/halibut: '*'
|
chiark.greenend.org.uk/halibut: '*'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
|
|
|
@ -8,7 +8,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
go.dev: '*'
|
go.dev: '*'
|
||||||
script: |
|
script: |
|
||||||
go build -ldflags="$LDFLAGS" -o {{prefix}}/bin/circleci
|
go build -ldflags="$LDFLAGS" -o {{prefix}}/bin/circleci
|
||||||
|
|
|
@ -20,8 +20,6 @@ build:
|
||||||
rm -rf "$GOPATH" "$GOCACHE"
|
rm -rf "$GOPATH" "$GOCACHE"
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.18
|
go.dev: ^1.18
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
tea.xyz/gx/cc: c99 # for cgo
|
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{prefix}}/gopath
|
GOPATH: ${{prefix}}/gopath
|
||||||
GOCACHE: ${{prefix}}/gocache
|
GOCACHE: ${{prefix}}/gocache
|
||||||
|
|
|
@ -28,8 +28,6 @@ provides:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |-
|
script: |-
|
||||||
./bootstrap $ARGS
|
./bootstrap $ARGS
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
|
|
@ -9,8 +9,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
|
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
@ -18,7 +16,7 @@ build:
|
||||||
- cmake .. $ARGS
|
- cmake .. $ARGS
|
||||||
- make --jobs {{ hw.concurrency }}
|
- make --jobs {{ hw.concurrency }}
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||||
|
@ -29,13 +27,11 @@ build:
|
||||||
- -DWITH_STATIC_LIB=ON
|
- -DWITH_STATIC_LIB=ON
|
||||||
- -DWITH_CMOCKERY_SUPPORT=ON
|
- -DWITH_CMOCKERY_SUPPORT=ON
|
||||||
- -DUNIT_TESTING=ON
|
- -DUNIT_TESTING=ON
|
||||||
- -DCMAKE_C_COMPILER={{deps.tea.xyz/gx/cc.prefix}}/bin/cc
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script:
|
script:
|
||||||
- pkg-config --modversion cmocka | grep {{version}}
|
- pkg-config --modversion cmocka | grep {{version}}
|
||||||
- cc test.c -lcmocka -o test
|
- cc test.c -lcmocka -o test
|
||||||
- ./test
|
- ./test
|
||||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
env:
|
env:
|
||||||
GEM_HOME: ${{prefix}}
|
GEM_HOME: ${{prefix}}
|
||||||
GEM_PATH: ${{prefix}}
|
GEM_PATH: ${{prefix}}
|
||||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
gnu.org/libtool: '*'
|
gnu.org/libtool: '*'
|
||||||
|
@ -30,7 +28,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
cc -o test test.c -laribb24
|
cc -o test test.c -laribb24
|
||||||
./test
|
./test
|
||||||
|
|
|
@ -7,7 +7,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
mesonbuild.com: '>=0.47<1'
|
mesonbuild.com: '>=0.47<1'
|
||||||
ninja-build.org: 1
|
ninja-build.org: 1
|
||||||
working-directory:
|
working-directory:
|
||||||
|
|
|
@ -7,7 +7,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
x86-64:
|
x86-64:
|
||||||
nasm.us: 2.14
|
nasm.us: 2.14
|
||||||
# FIXME: >=0.49<1
|
# FIXME: >=0.49<1
|
||||||
|
|
|
@ -12,7 +12,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
script:
|
script:
|
||||||
# stops conda from installing to our versioned prefix by default
|
# stops conda from installing to our versioned prefix by default
|
||||||
|
|
|
@ -11,7 +11,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
rust-lang.org: '>=1.56'
|
rust-lang.org: '>=1.56'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
|
|
|
@ -15,7 +15,6 @@ build:
|
||||||
mv coredns "{{ prefix }}"/bin/coredns
|
mv coredns "{{ prefix }}"/bin/coredns
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.18
|
go.dev: ^1.18
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
LDFLAGS:
|
LDFLAGS:
|
||||||
|
|
|
@ -13,14 +13,12 @@ dependencies:
|
||||||
perl.org: '*'
|
perl.org: '*'
|
||||||
|
|
||||||
companions:
|
companions:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/cpanm
|
- bin/cpanm
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
perl Makefile.PL INSTALL_BASE={{prefix}}
|
perl Makefile.PL INSTALL_BASE={{prefix}}
|
||||||
make install
|
make install
|
||||||
|
@ -29,6 +27,5 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script:
|
script:
|
||||||
cpanm --verbose --local-lib=./out Test::More
|
cpanm --verbose --local-lib=./out Test::More
|
||||||
|
|
|
@ -10,7 +10,6 @@ versions:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
linux:
|
linux:
|
||||||
kernel.org/linux-headers: '*'
|
kernel.org/linux-headers: '*'
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
|
@ -41,9 +40,9 @@ build:
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" svscanboot
|
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" svscanboot
|
||||||
rm svscanboot.bak
|
rm svscanboot.bak
|
||||||
working-directory: "{{prefix}}/bin"
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
PATCH: "https://raw.githubusercontent.com/Homebrew/formula-patches/212baeaf8232802cf3dfbfcc531efa5741325bfa/daemontools/errno.patch"
|
PATCH: 'https://raw.githubusercontent.com/Homebrew/formula-patches/212baeaf8232802cf3dfbfcc531efa5741325bfa/daemontools/errno.patch'
|
||||||
provides:
|
provides:
|
||||||
- bin/envdir
|
- bin/envdir
|
||||||
- bin/envuidgid
|
- bin/envuidgid
|
||||||
|
|
|
@ -10,7 +10,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
rust-lang.org: '>=1.60'
|
rust-lang.org: '>=1.60'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -16,7 +16,6 @@ build:
|
||||||
rust-lang.org: ^1.70
|
rust-lang.org: ^1.70
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
freedesktop.org/pkg-config: ^0
|
freedesktop.org/pkg-config: ^0
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: cargo install --locked --root {{prefix}} --path .
|
script: cargo install --locked --root {{prefix}} --path .
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
|
|
|
@ -16,7 +16,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
rust-lang.org: ">=1.60"
|
rust-lang.org: ">=1.60"
|
||||||
rust-lang.org/cargo: "*"
|
rust-lang.org/cargo: "*"
|
||||||
script: cargo install --path . --root {{prefix}}
|
script: cargo install --path . --root {{prefix}}
|
||||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
rust-lang.org: ^1.66
|
rust-lang.org: ^1.66
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
cmake.org: ^3.12
|
cmake.org: ^3.12
|
||||||
|
|
|
@ -8,8 +8,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
script: |
|
script: |
|
||||||
cargo install cbindgen
|
cargo install cbindgen
|
||||||
|
@ -18,7 +16,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
|
|
|
@ -26,8 +26,6 @@ build:
|
||||||
rust-lang.org: '>=1.65'
|
rust-lang.org: '>=1.65'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
script:
|
script:
|
||||||
cargo install --locked --path . --root {{prefix}}
|
cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
|
@ -18,8 +18,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
|
|
@ -10,7 +10,6 @@ versions:
|
||||||
- /\.tar\.gz/
|
- /\.tar\.gz/
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
|
|
|
@ -13,26 +13,15 @@ dependencies:
|
||||||
curl.se/ca-certs: '*'
|
curl.se/ca-certs: '*'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
- ./configure
|
||||||
tea.xyz/gx/cc: c99
|
--prefix={{prefix}}
|
||||||
tea.xyz/gx/make: '*'
|
--with-openssl
|
||||||
script: |
|
--with-ca-fallback # uses openssl’s certs (which we control)
|
||||||
./configure $ARGS
|
- make --jobs {{ hw.concurrency }} install
|
||||||
make --jobs {{ hw.concurrency }} install
|
|
||||||
env:
|
|
||||||
ARGS:
|
|
||||||
- --prefix={{prefix}}
|
|
||||||
- --with-openssl
|
|
||||||
- --with-ca-fallback # uses openssl’s certs (which we control)
|
|
||||||
test:
|
|
||||||
make test
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
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
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/curl
|
- bin/curl
|
||||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
openssl.org: ^1.1
|
openssl.org: ^1.1
|
||||||
script: |
|
script: |
|
||||||
# Makefile is not very flexible, so we have to edit it
|
# Makefile is not very flexible, so we have to edit it
|
||||||
|
|
|
@ -5,7 +5,6 @@ versions:
|
||||||
github: cython/cython
|
github: cython/cython
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ^3.11
|
python.org: ^3.11
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages"
|
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages"
|
||||||
|
|
|
@ -10,7 +10,6 @@ provides:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: '*'
|
python.org: '*'
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -5,7 +5,6 @@ versions:
|
||||||
github: dart-lang/sdk/tags
|
github: dart-lang/sdk/tags
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
ninja-build.org: '*'
|
ninja-build.org: '*'
|
||||||
rust-lang.org: '*'
|
rust-lang.org: '*'
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
|
|
|
@ -15,8 +15,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
git-scm.org: 2
|
git-scm.org: 2
|
||||||
script:
|
script:
|
||||||
- git apply props/relocatable.diff
|
- git apply props/relocatable.diff
|
||||||
|
|
|
@ -9,8 +9,6 @@ versions:
|
||||||
- /\.orig\.tar\.gz/
|
- /\.orig\.tar\.gz/
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
gnu.org/libtool: '*'
|
gnu.org/libtool: '*'
|
||||||
|
|
|
@ -11,8 +11,6 @@ dependencies:
|
||||||
gnu.org/gettext: '*'
|
gnu.org/gettext: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
python.org: '*'
|
python.org: '*'
|
||||||
script:
|
script:
|
||||||
- ./configure $CONFIGURE_ARGS
|
- ./configure $CONFIGURE_ARGS
|
||||||
|
|
|
@ -50,7 +50,6 @@ build:
|
||||||
rust-lang.org/cargo: ^0.65
|
rust-lang.org/cargo: ^0.65
|
||||||
llvm.org: '>=13' # macOS/aarch64 requires this (FIXME only dep where needed)
|
llvm.org: '>=13' # macOS/aarch64 requires this (FIXME only dep where needed)
|
||||||
curl.se: '*' # required to download v8 (python is another option)
|
curl.se: '*' # required to download v8 (python is another option)
|
||||||
tea.xyz/gx/make: '*' # required to build the libffi parts
|
|
||||||
crates.io/semverator: '*'
|
crates.io/semverator: '*'
|
||||||
cmake.org: ^3 # deno.land>=1.36.1 requires cmake
|
cmake.org: ^3 # deno.land>=1.36.1 requires cmake
|
||||||
protobuf.dev: '*' # deno.land>=1.36.4 requires protoc
|
protobuf.dev: '*' # deno.land>=1.36.4 requires protoc
|
||||||
|
|
|
@ -17,8 +17,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make -j {{ hw.concurrency }} install
|
make -j {{ hw.concurrency }} install
|
||||||
|
|
|
@ -14,8 +14,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: 3
|
cmake.org: 3
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
@ -35,7 +33,6 @@ provides:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script:
|
script:
|
||||||
- mv $FIXTURE test.c
|
- mv $FIXTURE test.c
|
||||||
- cc test.c -o test -lfido2
|
- cc test.c -o test -lfido2
|
||||||
|
|
|
@ -11,15 +11,12 @@ build:
|
||||||
linux:
|
linux:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
darwin:
|
darwin:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix="{{prefix}}"
|
./configure --prefix="{{prefix}}"
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
cc fixture.c -ljansson
|
cc fixture.c -ljansson
|
||||||
./a.out
|
./a.out
|
|
@ -11,7 +11,6 @@ provides:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.18
|
go.dev: ^1.18
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
make install PREFIX="{{ prefix }}"
|
make install PREFIX="{{ prefix }}"
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
@ -19,6 +17,5 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
cc -o testlibaec fixture.cpp -laec
|
cc -o testlibaec fixture.cpp -laec
|
||||||
|
|
|
@ -11,20 +11,18 @@ dependencies:
|
||||||
gnome.org/libxml2: '*'
|
gnome.org/libxml2: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/wget: '*'
|
gnu.org/wget: '*'
|
||||||
info-zip.org/unzip: '*'
|
info-zip.org/unzip: '*'
|
||||||
script:
|
script:
|
||||||
- run: mkdir -p libexec share/doc
|
- run: mkdir -p libexec share/doc
|
||||||
working-directory: "{{prefix}}"
|
working-directory: '{{prefix}}'
|
||||||
- cp -r docbook-xsl-{{version}} {{prefix}}/libexec/docbook-xsl
|
- cp -r docbook-xsl-{{version}} {{prefix}}/libexec/docbook-xsl
|
||||||
- wget $RES_NS && unzip docbook-xsl-nons-{{version}}.zip
|
- wget $RES_NS && unzip docbook-xsl-nons-{{version}}.zip
|
||||||
- cp -r docbook-xsl-nons-{{version}} {{prefix}}/libexec/docbook-xsl-ns
|
- cp -r docbook-xsl-nons-{{version}} {{prefix}}/libexec/docbook-xsl-ns
|
||||||
- wget $RES_DOC && unzip docbook-xsl-doc-{{version}}.zip
|
- wget $RES_DOC && unzip docbook-xsl-doc-{{version}}.zip
|
||||||
- cp -r docbook-xsl-{{version}}/doc {{prefix}}/share/doc/reference
|
- cp -r docbook-xsl-{{version}}/doc {{prefix}}/share/doc/reference
|
||||||
- run: ln -s ../libexec/docbook-xsl/epub/bin/dbtoepub dbtoepub
|
- run: ln -s ../libexec/docbook-xsl/epub/bin/dbtoepub dbtoepub
|
||||||
working-directory: "{{prefix}}/bin"
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
RES_NS: https://github.com/docbook/xslt10-stylesheets/releases/download/release/{{version}}/docbook-xsl-nons-{{version}}.zip
|
RES_NS: https://github.com/docbook/xslt10-stylesheets/releases/download/release/{{version}}/docbook-xsl-nons-{{version}}.zip
|
||||||
RES_DOC: https://github.com/docbook/xslt10-stylesheets/releases/download/release/{{version}}/docbook-xsl-doc-{{version}}.zip
|
RES_DOC: https://github.com/docbook/xslt10-stylesheets/releases/download/release/{{version}}/docbook-xsl-doc-{{version}}.zip
|
||||||
|
|
|
@ -6,8 +6,6 @@ versions:
|
||||||
- 0.16.2
|
- 0.16.2
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
go.dev: '*'
|
go.dev: '*'
|
||||||
linux:
|
linux:
|
||||||
|
|
|
@ -9,8 +9,6 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/bison: ^3
|
gnu.org/bison: ^3
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
github.com/westes/flex: 2
|
github.com/westes/flex: 2
|
||||||
|
|
|
@ -19,7 +19,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
mesonbuild.com: '*'
|
mesonbuild.com: '*'
|
||||||
ninja-build.org: '*'
|
ninja-build.org: '*'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
|
@ -39,7 +38,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
script:
|
script:
|
||||||
- pkg-config --modversion libdrm | grep {{version}}
|
- pkg-config --modversion libdrm | grep {{version}}
|
||||||
|
|
|
@ -2,22 +2,19 @@ distributable:
|
||||||
url: https://github.com/duckdb/duckdb/archive/refs/tags/v{{version}}.tar.gz
|
url: https://github.com/duckdb/duckdb/archive/refs/tags/v{{version}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
# if there’s a github then we can parse the versions
|
|
||||||
versions:
|
versions:
|
||||||
github: duckdb/duckdb/releases/tags
|
github: duckdb/duckdb/releases/tags
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
working-directory: build
|
working-directory: build
|
||||||
script: |
|
script: |
|
||||||
# duckdb uses git to get its version
|
# duckdb uses git to get its version
|
||||||
git init ..
|
git init ..
|
||||||
git config user.email "bot@tea.xyz"
|
git config user.email "bot@pkgx.dev"
|
||||||
git config user.name "teabot"
|
git config user.name "pkgxbot"
|
||||||
git commit --allow-empty -mnil
|
git commit --allow-empty -mnil
|
||||||
git tag v{{version}}
|
git tag v{{version}}
|
||||||
|
|
||||||
|
@ -35,7 +32,6 @@ build:
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/duckdb
|
- bin/duckdb
|
||||||
# ^^ specify the binaries or tea magic won’t work
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
fixture: |
|
fixture: |
|
||||||
|
|
|
@ -8,8 +8,6 @@ versions:
|
||||||
build:
|
build:
|
||||||
working-directory: build
|
working-directory: build
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: '^3'
|
cmake.org: '^3'
|
||||||
script: |
|
script: |
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX={{prefix}}
|
cmake .. -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||||
|
@ -27,7 +25,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
env:
|
env:
|
||||||
cxxflags: $(pkg-config --cflags eigen3)
|
cxxflags: $(pkg-config --cflags eigen3)
|
||||||
|
|
|
@ -7,8 +7,6 @@ dependencies:
|
||||||
github.com/kubernetes-sigs/aws-iam-authenticator: '*'
|
github.com/kubernetes-sigs/aws-iam-authenticator: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
github.com/maxbrunsfeld/counterfeiter: '*'
|
github.com/maxbrunsfeld/counterfeiter: '*'
|
||||||
go.dev: '*'
|
go.dev: '*'
|
||||||
github.com/kevinburke/go-bindata: '*'
|
github.com/kevinburke/go-bindata: '*'
|
||||||
|
|
|
@ -13,8 +13,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
gnu.org/libtool: '*'
|
gnu.org/libtool: '*'
|
||||||
|
|
|
@ -14,7 +14,6 @@ dependencies:
|
||||||
facebook.com/zstd: '*'
|
facebook.com/zstd: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
gnu.org/m4: '*'
|
gnu.org/m4: '*'
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: "*"
|
|
||||||
script: |
|
script: |
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,6 @@ provides:
|
||||||
dependencies:
|
dependencies:
|
||||||
curl.se/ca-certs: '*'
|
curl.se/ca-certs: '*'
|
||||||
|
|
||||||
companions:
|
|
||||||
tea.xyz/gx/cc: c99 # for `cgo`
|
|
||||||
|
|
||||||
warnings:
|
warnings:
|
||||||
- vendored
|
- vendored
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ dependencies:
|
||||||
rpm.org/popt: '*'
|
rpm.org/popt: '*'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
gnu.org/automake: '*'
|
gnu.org/automake: '*'
|
||||||
|
|
|
@ -31,11 +31,9 @@ runtime:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
linux/x86-64:
|
linux/x86-64:
|
||||||
# https://github.com/llvm/llvm-project/issues/56854
|
# https://github.com/llvm/llvm-project/issues/56854
|
||||||
llvm.org: '<15'
|
llvm.org: '<15'
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
perl.org: '>=5'
|
perl.org: '>=5'
|
||||||
script: |
|
script: |
|
||||||
export ERL_TOP=$(pwd)
|
export ERL_TOP=$(pwd)
|
||||||
|
|
|
@ -14,7 +14,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
perl.org: '*'
|
perl.org: '*'
|
||||||
script: |
|
script: |
|
||||||
# Enable large file support
|
# Enable large file support
|
||||||
|
|
|
@ -15,7 +15,6 @@ dependencies:
|
||||||
perl.org: ^5
|
perl.org: ^5
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
gnu.org/wget: '*'
|
gnu.org/wget: '*'
|
||||||
linux:
|
linux:
|
||||||
|
|
|
@ -14,8 +14,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
google.com/googletest: '*'
|
google.com/googletest: '*'
|
||||||
boost.org: ^1
|
boost.org: ^1
|
||||||
|
@ -36,7 +34,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
script: |
|
script: |
|
||||||
g++ -std=c++17 test.cc -o test -ledencommon_utils -lfolly
|
g++ -std=c++17 test.cc -o test -ledencommon_utils -lfolly
|
||||||
./test | grep test
|
./test | grep test
|
||||||
|
|
|
@ -24,8 +24,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: ^3.0.2
|
cmake.org: ^3.0.2
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
working-directory:
|
working-directory:
|
||||||
|
@ -83,7 +81,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
fixture: |
|
fixture: |
|
||||||
#include <folly/FBVector.h>
|
#include <folly/FBVector.h>
|
||||||
int main() {
|
int main() {
|
||||||
|
|
|
@ -26,8 +26,6 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
working-directory: wangle
|
working-directory: wangle
|
||||||
script:
|
script:
|
||||||
|
@ -49,7 +47,6 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
script:
|
script:
|
||||||
- c++ $CXXFLAGS 'EchoClient.cpp' -o EchoClient
|
- c++ $CXXFLAGS 'EchoClient.cpp' -o EchoClient
|
||||||
|
|
|
@ -21,7 +21,6 @@ provides:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
ninja-build.org: ^1
|
ninja-build.org: ^1
|
||||||
working-directory: build/out
|
working-directory: build/out
|
||||||
|
|
|
@ -12,8 +12,6 @@ dependencies:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rubygems.org: '*'
|
rubygems.org: '*'
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
tea.xyz/gx/cc: '*'
|
|
||||||
env:
|
env:
|
||||||
GEM_HOME: ${{prefix}}
|
GEM_HOME: ${{prefix}}
|
||||||
GEM_PATH: ${{prefix}}
|
GEM_PATH: ${{prefix}}
|
||||||
|
|
|
@ -20,8 +20,6 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
x86-64:
|
x86-64:
|
||||||
nasm.us: 2
|
nasm.us: 2
|
||||||
tea.xyz/gx/cc: c99
|
|
||||||
tea.xyz/gx/make: '*'
|
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix="{{prefix}}"
|
./configure --prefix="{{prefix}}"
|
||||||
make --jobs {{hw.concurrency}}
|
make --jobs {{hw.concurrency}}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue