Commit graph

244 commits

Author SHA1 Message Date
Max Howell d1784ca25c
+libjpeg-turbo 2023-02-11 06:06:35 -05:00
Max Howell 35f8578d04
+cJSON using +tea.xyz/brewkit 2023-02-11 05:52:24 -05:00
Jacob Heider 2f7e0f3a93
if projects are unknown, get-platform.ts still needs a return 2023-02-07 13:00:18 -05:00
Jacob Heider 6c846d99e6
don't remove staging until all uploads run 2023-02-06 17:40:09 -05:00
Jacob Heider 6120e674ee we're cleaning up artifact staging too aggressively 2023-02-06 17:32:10 -05:00
Jacob Heider 53399afa73 cache keys by job and inputs 2023-02-05 06:34:29 -05:00
Jacob Heider 63632639a0 use actions/cache to reduce deno.land 500s 2023-02-05 06:34:29 -05:00
Jacob Heider 8bb4b483c8 sync workflows with pantry.core 2023-02-03 20:00:35 -05:00
Jacob Heider 6c3ca500a7
get workflow status 2023-02-02 20:35:29 -05:00
Jacob Heider b9491c0b44
pass issue template name 2023-02-02 20:15:49 -05:00
Jacob Heider 68a47ae737
make branches actually parallel (#167)
* make branches actually parallel

* more

* wut

* wip

* wip
2023-02-02 20:07:32 -05:00
Jacob Heider db7a6b87c5
revert hosted linux+x86-64 for now 2023-02-02 17:36:03 -05:00
Jacob Heider a2da161839
make each platform build independently (#148)
* simplify index-packages

* Fix import map location

* sqs modules needs permission :x

* move matrices up a level

* move `complain:` to bottle/build

* more cleanup

* add build-os key to get-platform.ts for self-hosted x86-64 (x64) runners

* needs arrays not strings

* implement testMatrix

* review changes

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-02 17:13:38 -05:00
Jacob Heider 72b9fa85bd
simplify index-packages (#153)
* simplify index-packages

* Fix import map location

* sqs modules needs permission :x

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-02 16:51:19 -05:00
Max Howell abb0921f3d
don’t need cli checkouts anymore (#146)
* don’t need cli checkouts anymore
* tidy

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-02-02 09:00:52 -05:00
Neil 0ee361a5d7
Bugfix bottle ingest (#152)
* #161 copy strategy on other workflows

* #151 move to pantry trigger

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-02 09:10:16 +08:00
Jacob Heider 25709296ea
fix(cd) 2023-02-01 18:43:06 -05:00
Neil a62c0ea3bb
init step for ingesting/indexing package details (#144)
* #143 init step for ingesting package details

* #143 create reusable workflow for triggering package ingestion/indexing

* space

* #143 create task after uploading bottles

* cleanup

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-01 14:13:09 +08:00
Jacob Heider c061a74eb3
removed slim tag
fixes https://github.com/teaxyz/infuser/issues/15
2023-01-31 15:07:23 -05:00
Jacob Heider 70d764b8df
don't use the default template name for this 2023-01-31 15:01:46 -05:00
Jacob Heider ff5b6df07f
sync before copy 2023-01-25 16:33:15 -05:00
Jacob Heider 8826588b64
create issue from failed runs 2023-01-24 17:21:32 -05:00
Jacob Heider 4bad6b0b9b hard-code build exceptions 2023-01-16 13:33:04 -05:00
Max Howell fe6eadedc8
Changes for tea/cli 0.19 (#101)
* Changes for tea/cli 0.19

* wip

* wip

* wip

* wip

* wip
2023-01-14 15:57:43 -05:00
Jacob Heider f51268d2b3
don't use ~ 2023-01-14 15:13:41 -05:00
Jacob Heider 16de042898
might need new recipes in extra when checking cores: 2023-01-12 19:06:07 -05:00
Jacob Heider 703b25d8c9
more working cd scripting 2023-01-12 18:32:05 -05:00
Jacob Heider 680b5bf9e9
this works better than a poor-quality shell pipeline 2023-01-12 18:27:46 -05:00
Jacob Heider b8ca94a587 add build.cores yaml key to control min-required build machine 2023-01-12 17:42:51 -05:00
Jacob Heider 9b4b042fc3
better artifact testing for cd 2023-01-11 18:47:07 -05:00
Jacob Heider 95ecc17d79 need to test for 'true'/'false' 2023-01-11 18:42:29 -05:00
Jacob Heider 8eb0f4778e need to test for 'true'/'false' 2023-01-11 18:39:14 -05:00
Jacob Heider c8b9e1d3dd
nicer job name 2023-01-06 17:50:26 -05:00
Jacob Heider 7d04574f8c move to 4core linux for builds 2023-01-06 17:34:53 -05:00
Jacob Heider bcffeee712
regression 2023-01-05 19:20:26 -05:00
Jacob Heider ddb3b967e7
final form 2023-01-05 19:19:09 -05:00
Jacob Heider bb81486d83
last one, i hope 2023-01-05 19:16:57 -05:00
Jacob Heider a22f2bb6e5 Properly deal with contexts at various levels
memorize https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
2023-01-05 19:14:14 -05:00
Jacob Heider 2af6b64253
someday i'll know when this needs braces. 2023-01-05 18:46:42 -05:00
Jacob Heider 7afa90bb0e
and skip typoed non-work 2023-01-05 18:39:30 -05:00
Jacob Heider 30e960c252
well, if i omit the typos 2023-01-05 18:37:49 -05:00
Jacob Heider cffdd5de61
better CD for external contribution 2023-01-05 18:32:56 -05:00
Jacob Heider 8924220af0
better ci/cd for 3rd-party contributions 2023-01-05 18:31:35 -05:00
Jacob Heider 5b8a94584e
don't try to artifact null (~) srcs 2023-01-04 20:50:58 -05:00
Jacob Heider ad375e1dbd
add slack notifications only on new-version failure 2023-01-04 20:03:40 -05:00
Jacob Heider 5e50f9ead7
fix bottle.yml:cleanup 2023-01-03 18:18:49 -05:00
Max Howell 003e6b0c8f
no more need to apt-get install 2022-12-21 14:07:10 -05:00
Max Howell f4f1413665 Just use the full build.ts
Fixes issue where we don't install zlib to build zlib even though llvm needs it.

Doing these in steps was a cool demo of our primitives but led to issues due to install all deps up front rather than just before each build so fuck it.
2022-12-21 10:43:54 -05:00
Max Howell 0a73e3e2b9
Merge pull request #81 from teaxyz/enable-typechecks
remove symlinks and turn on type checking
2022-12-21 08:11:12 -05:00
Jacob Heider d02062d645
don't run cleanup on merge (bottle.yml does that) 2022-12-20 18:32:07 -05:00
Jacob Heider 2607432abe
remove symlinks and turn on type checking 2022-12-20 18:29:53 -05:00
Jacob Heider 94101a0b93
fix picking artifact location in bottle.yml 2022-12-20 18:29:41 -05:00
Jacob Heider c8c8e3c367 update base workflows to pantry.core#78 and prune usused 2022-12-20 17:08:40 -05:00
Jacob Heider 11c863706e
use PR build artifacts on merge (#78)
* Uploads artifacts to S3, bottles on a different workflow

* rip slack notifications

* be more explicit about AWS_S3_CACHE

* Revert "fix build-deps outputting stuff we need to build"

This reverts commit 972f0715f4.

Co-authored-by: Max Howell <mxcl@me.com>
2022-12-20 16:54:26 -05:00
Max Howell f39b513abb
delete all .la files
Refs https://github.com/teaxyz/pantry.extra/pull/74#issuecomment-1359708974
2022-12-20 13:08:00 -05:00
Jacob Heider a55998598f
handle srcs special case: ~ 2022-12-17 09:30:16 -05:00
Jacob Heider 91b6040a88
obey semver updates 2022-12-14 18:38:20 -05:00
Jacob Heider df862c5253
increase container memory for build (maybe) 2022-12-08 23:08:48 -04:00
Max Howell 3e5c65b454
There's more GH VMs even if they are slower 2022-12-08 09:41:44 -04:00
Jacob Heider 007c0d8772 separate upload logic from bottling logic
to deal with S3 503s

???


sync script changes


amazingly close


wip


wip


wip
2022-12-07 14:59:33 -05:00
Jacob Heider 171aec5167 move code signing 2022-12-07 14:33:47 -05:00
Jacob Heider 6f50cb723e
codesigning (#35)
* codesign mac bins/libs

* test bin

* fix codesign checker
2022-12-06 12:18:20 -05:00
Jacob Heider b3ae79aa54 jeez, i'm dumb 2022-12-01 16:05:43 -05:00
Jacob Heider e582b03fe6 gpg sign bottles 2022-12-01 15:52:26 -05:00
Max Howell d9be5a35f9 build.ts only deps on deno
prevents dep injection
2022-11-30 15:47:09 -05:00
Jacob Heider 298cf2b499 save a bottle 2022-11-29 16:04:56 -05:00
Jacob Heider 05c0d22714
let the CI run in external PRs 2022-11-18 13:57:49 -05:00
Max Howell 9bddf47435
No @jheider this is not redundant 2022-11-10 20:42:08 -05:00
Max Howell 5fc40d6c4f
fixes building llvm.org^12 (#25) 2022-11-10 19:53:26 -05:00
Max Howell 8a59338e83
Don’t use sort.ts in CI to pre-install
The `dry` packages end up being constraints for the whole graph which in cyclic situations prevents bootstrapping.

Eg. llvm^12 cannot be built because sort insists that it depends on llvm^12 which is not yet bottled.
2022-11-09 11:48:19 -05:00
Max Howell 62c838d2e1
plumbing/porcelain for build.ts 2022-11-08 06:35:09 -05:00
Max Howell eb1c8e5aee
Relax requirement to build to /opt (#19)
Improve README somewhat. Don’t overlay files into pantry, use `TEA_PANTRY_PATH` instead. Requires tea/cli 0.11.6 for `env` key in YAML-FM
2022-11-04 13:00:17 +00:00
Max Howell ec4283a43a
README rework 2022-11-01 08:31:22 -04:00
Jacob Heider 3245fb5fc8
just requires cargo to build (#4)
* just requires cargo to build

* add in .github workflows

* README deps
2022-10-31 14:00:24 -04:00
Jacob Heider 7d96f7c352
de-duplicate pantry scripts (#11) 2022-10-27 18:23:32 -04:00
Jacob Heider b8bdf87712 build something on every CI 2022-10-27 13:24:43 -04:00
Jacob Heider 3291fc0927 better document build system changes 2022-10-27 11:52:10 -04:00
Jacob Heider e0cfd65fe2 fix copying non-head pantry 2022-10-27 11:52:10 -04:00
Jacob Heider e1d2ab4f47
skip upload steps on CI (#1) 2022-10-26 08:16:43 -04:00
Max Howell 89bb6bf292
fixes because pantries changed (#2) 2022-10-25 21:55:49 -04:00
Max Howell 463ff222dd fix bottle xz/gz versions.txt race
not ideal since S3 uploads are failing so often RN

however ideal sln is complex
2022-10-21 06:15:01 -04:00
Jacob Heider 37caca506b doesn't like names with spaces 2022-10-19 13:14:19 -04:00
Jacob Heider 5df7e65838 move aarch64 to hosted runners 2022-10-19 12:33:09 -04:00
Max Howell cf07590f11 Fix uploads 2022-10-17 15:36:37 -04:00
Max Howell f836b167a1 “superenv” (#185)
* fixes for dylib ids on darwin (sadly elaborate)

* wip
2022-10-17 13:45:32 -04:00
Jacob Heider 16ec5ae85c use slim infuser 2022-10-06 12:27:55 -04:00
Max Howell 53790ae38c use tea to install ruby for our scripts 2022-10-03 20:38:14 -04:00
Jacob Heider e27cb83c69 improve new-version legibility 2022-10-03 18:33:40 -04:00
Jacob Heider a9d7965089 store sources from build pipeline
Use relative-path srcs only
2022-10-03 13:23:23 -04:00
Max Howell 286947912d attempt to install as little as possible with apt (#173) 2022-10-03 11:30:12 -04:00
Jacob Heider e824dca8f2 this is a profoundly dumb bug 2022-10-02 17:18:00 -04:00
Max Howell a59e2e9f00 let’s try our own shared-mime-info (#167)
* let’s try our own shared-mime-info
* infuser:slim needs more deps to be specified
2022-09-30 11:38:22 -04:00
Max Howell dff062f6a7 ~gnome.org/gdk-pixbuf (#151) 2022-09-29 15:40:34 -04:00
Max Howell 8e253c55a6 ~git-scm.org (#153)
build in debian-buster-slim rather than infuser since infuser currently has link bugs in gettext etc.
2022-09-29 14:14:58 -04:00
Max Howell 4f62062548 test on more linuxes (#164) 2022-09-29 12:07:07 -04:00
Max Howell 2d750eae4e less hacks (#162) 2022-09-28 19:19:56 -04:00
Jacob Heider 2dedc20604 rollup status 2022-09-28 19:07:30 -04:00
Max Howell ee504738cf fix making tar.xz bottles (#158) 2022-09-28 11:15:20 -04:00
Max Howell cc1613c749 Refactor 2022-09-27 16:13:54 -04:00
Max Howell 5657f04b30 Upload .tar.xz bottles too 2022-09-27 16:13:54 -04:00
Max Howell a5ff99c5e3 getting there (#144) 2022-09-25 08:41:58 -04:00
Max Howell 746f2f16f3 tweaks based on using our own semver 2022-09-23 10:36:43 -04:00
Jacob Heider 4ec52e6c6a +tea.xyz (#128) 2022-09-23 09:52:00 -04:00
Max Howell dd8ee56f70 cli needs a .git now 2022-09-20 08:21:53 -04:00
Jacob Heider 52d90d25d5 use install.ts from teaxyz/cli 2022-09-20 08:11:05 -04:00
Max Howell 82dc61a944 Use ruby-macho to fix rpaths, etc. on macOS 2022-09-16 15:35:46 -04:00
Jacob Heider 4970d50944 push ref for CI to work 2022-09-15 21:06:22 -04:00
Max Howell 9b0cf3d92a +portable fontconfig (#134)
Only changes the cache location
2022-09-14 15:48:36 -04:00
Max Howell 0240a4bfb1 +portable git (#126) 2022-09-13 09:18:47 -04:00
Max Howell bf3c2033d2 node doesn’t need pkg-config at runtime (#127) 2022-09-12 15:47:41 -04:00
Max Howell 6a82b73ef6 Always use tea/setup as it now upgrades tea/cli 2022-09-11 07:31:56 -04:00
Jacob Heider fe6e491b5e ...but only once 2022-09-10 04:09:40 -04:00
Jacob Heider 5734dc3cca Invalidate after upload
This might be contributing to the checksum issues with verify-relocatable.
2022-09-10 03:26:54 -04:00
Jacob Heider c0356585df push to-build packages to aarch64 builder (#124) 2022-09-08 17:15:54 -04:00
Max Howell 0f8b83870a making things relocatable (#122) 2022-09-08 16:40:35 -04:00
Jacob Heider 2c11365dcc increase memory limits for infuser 2022-09-02 18:41:05 -04:00
Max Howell 42a666304d test +librsvg (#115) 2022-09-02 10:51:31 -04:00
Max Howell a4eac5f1c5 +test harfbuzz (#110) 2022-09-01 17:42:09 -04:00
Max Howell 915e9f1d82 +wget (#111) 2022-09-01 13:49:14 -04:00
Max Howell a32cd0e80a more-tests (#106) 2022-08-31 17:44:34 -04:00
Max Howell ac5c6ceff3 add more pkg tests (#102)
* more-tests pt.1

* useCellar() is overkill here.

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2022-08-31 15:45:04 -04:00
Max Howell 52bb4c1d13 no need to rebuild these changes 2022-08-31 15:45:04 -04:00
Jacob Heider 66fcc022d5 kebab-case job names 2022-08-31 12:36:54 -04:00
Jacob Heider fe213c6a77 Simplify job but also note bug 2022-08-30 18:15:29 -04:00
Jacob Heider f746eca170 notify job should be always(), not step. 2022-08-30 18:02:33 -04:00
Jacob Heider 3a3986ae2d Get slacks for macos too 2022-08-29 19:41:32 -04:00
Jacob Heider c2ba069bd7 Let's make it loud!
test


Conditional text
2022-08-29 12:11:34 -04:00
Max Howell 4f7bce0f85 fixes deno 1.25.0 (#99) 2022-08-27 14:11:25 -04:00
Jacob Heider 03fd1dbc51 Include bottle checksums in CI artifacts
v3: wherein everyone stays in their lane
2022-08-25 20:01:59 -04:00
Max Howell ea699e9b52 +ghc (#92) 2022-08-22 17:40:16 -04:00
Max Howell d9d4073ba1 librsvg (#90) 2022-08-22 08:38:36 -04:00
Max Howell e3cd93b1ad +gdk-pixbuf+gmp (#87)
* +gdk-pixbuf+gmp

* wip

* wip
2022-08-19 16:48:18 -04:00
Max Howell 85ad44e24a +gohugo (#85) 2022-08-19 16:08:56 -04:00
Max Howell 974af85f68 +freetype+fontconfig+cairo+gobj-intr (#79) 2022-08-19 13:31:09 -04:00
Jacob Heider 9249d0d7db .some(cd) 2022-08-18 17:15:09 -04:00
Jacob Heider 77f36b177a Simpler new_version.yml 2022-08-16 19:29:17 -04:00
Max Howell 255f93071b +glib+meson+flex (#76) 2022-08-10 14:58:22 -04:00
Jacob Heider 0e4d60b919 stub in new_version workflow
Must be in main to be dispatchable.
2022-08-08 19:53:26 -04:00
Max Howell c7e3d90b60 +go+unzip+tar (#74) 2022-08-05 09:43:01 -04:00
Max Howell 6cef318164 Python rec’d deps (#75) 2022-08-04 21:19:01 -04:00
Max Howell b63e6028ee +deno (#73) 2022-08-04 11:27:59 -04:00
Max Howell 16a011a819 +rust+cargo (#67) 2022-08-03 17:39:16 -04:00
Max Howell 8233f19e48 python recommended deps (#68) 2022-08-03 08:02:32 -04:00
Max Howell 07b6410226 infra 2022-08-01 15:43:40 -04:00