+x.org/exts

Closes #213
This commit is contained in:
Max Howell 2023-03-16 08:33:53 -04:00
parent e194677809
commit 257147e6e1
6 changed files with 47 additions and 5 deletions

View file

@ -1,7 +1,7 @@
--- ---
title: "new release: {{env.PACKAGE}} failed" title: "❌ {{env.PACKAGE}}"
assignees: jhheider assignees: jhheider
labels: bug labels: build-failure
--- ---
A new-version run for the {{env.PACKAGE}} release. Review the failure
<a href="{{env.URL}}">here</a> and mitigate. build logs: {{env.URL}}

View file

@ -1,4 +1,5 @@
name: cd name: cd
run-name: cd `${{ github.event.head_commit.message }}`
on: on:
push: push:

View file

@ -1,4 +1,5 @@
name: ci name: ci
run-name: ci `${{ github.event.pull_request.title }}`
on: pull_request on: pull_request

View file

@ -1,6 +1,7 @@
# 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: teaxyz s3 cleanup
run-name: cleanup `${{ github.event.pull_request.title }}`
on: on:
pull_request: pull_request:

View file

@ -1,5 +1,5 @@
name: new-version name: new-version
run-name: new-version (${{ inputs.projects }}) run-name: building ${{ inputs.projects }}
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:

View file

@ -0,0 +1,39 @@
distributable:
url: https://www.x.org/archive/individual/lib/libXext-{{version}}.tar.gz
strip-components: 1
versions:
- 1.3.5
dependencies:
x.org/x11: ^1
x.org/protocol: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: ~0.29
script: |
./configure \
--prefix="{{prefix}}" \
--sysconfdir="$SHELF"/etc \
--localstatedir="$SHELF"/var \
--enable-spec=no
make --jobs {{ hw.concurrency }} install
env:
SHELF: ${{tea.prefix}}/x.org
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
mv $FIXTURE x.c
cc x.c
./a.out
fixture: |
#include <X11/extensions/shape.h>
int main(int argc, char* argv[]) {
XShapeEvent event;
return 0;
}