Commit graph

128 commits

Author SHA1 Message Date
Jacob Heider
d9106f68a3
same for darwin+x86-64 2023-02-02 18:12:06 -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
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
Max Howell
e6717cad1f
fix tests since v0.20 whoops 2023-01-30 16:07:01 -05:00
Max Howell
e0c0fddcb4
chmod before trying to fix-shebangs if necessary 2023-01-30 13:50:32 -05:00
Max Howell
5c7531e66f
libtea v0.21.0 2023-01-30 13:50:32 -05:00
Max Howell
1b365dd48c
Use version stamped tea srcs; tidy (#115) 2023-01-24 08:57:24 -05:00
Max Howell
2d7c7a40c1 All @jonchang’s suggestions for py-venvs
Refs: https://github.com/teaxyz/pantry.extra/pull/93#issuecomment-1372917672
2023-01-19 11:03:32 -05:00
Max Howell
9d9621841a
Fixes building python-poetry.org (#107) 2023-01-18 11:12:01 -05:00
Lino Le Van
ab5c410cfa
fix: add retry to s3 uploads (#102)
* fix: add retry to s3 uploads

* fix: replace deprecated imports

* bumped again

* bump tea cli dependency

* add missing import

* :/

* ignore incorrect ts error
2023-01-17 15:05:12 -05:00
Jacob Heider
abd9ee8da0
ziglang needs 8-core builder 2023-01-16 19:28:27 -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
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
d919815397
better undefined resolution 2023-01-11 18:51:11 -05:00
Jacob Heider
8eb0f4778e need to test for 'true'/'false' 2023-01-11 18:39:14 -05:00
Jacob Heider
a9344e6e62
don't upload ~ even if it expands in the shell 2023-01-04 21:03:39 -05:00
Jacob Heider
5e50f9ead7
fix bottle.yml:cleanup 2023-01-03 18:18:49 -05:00
Max Howell
5a460a89ae
fix lint 2023-01-03 10:58:49 -05:00
Jacob Heider
fc31bb8939
changes needed to successfully build gcc (#83)
* clang doesn't have `-nodefaultrpaths`
* try `MachO::FatFile` if `MachO:MachOFile` fails
* add explicit comments
* use `MachO.open()`
* fix fetch.ts for no src pkgs

Co-authored-by: Max Howell <mxcl@me.com>
2023-01-03 08:45:57 -05:00
Max Howell
c78878a22f
unpackaged keys (unrendered currently) 2023-01-02 11:24:40 -05:00
Max Howell
53f9a11954
no, we want deps for virtual-env installations 2022-12-30 11:18:58 -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
Jacob Heider
2607432abe
remove symlinks and turn on type checking 2022-12-20 18:29:53 -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
037a34701c
Make files writable before trying to write 2022-12-20 11:10:33 -05:00
Max Howell
972f0715f4
fix build-deps outputting stuff we need to build 2022-12-20 08:32:23 -05:00
Max Howell
fea7d8ad6d Tidy virtual-env creation script 2022-12-20 08:01:01 -05:00
Max Howell
1a575b3d2e
Merge pull request #54 from magnusviri/python-venv
add scripts/brewkit/python-venv.sh
2022-12-12 14:21:21 -05:00
Max Howell
9fc841e1c5
Don’t add pkg twice for tests 2022-12-12 08:23:05 -05: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
6cdf1e0a5e fixes build of tea.xyz/gx/cc 2022-12-07 10:58:14 -05:00
James Reynolds
56f90b8925 Switch environment variables to args 2022-12-03 21:52:48 -07: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
Lorenzo Rossi
ea20c7a621
chore: reorder and refactor scripts/upload.ts (#39)
* chore: reformat and reorganize uploads.ts

* chore: add bucket parameter to get_version and put

Avoid the use of global variables (JS/TS  best practices)

* chore: remove semicolons
2022-12-01 15:34:04 -05:00
James Reynolds
abe2f46ecd Write shim file 2022-12-01 11:30:51 -07:00
James Reynolds
2a1c711f02 add scripts/brewkit/python-venv.sh 2022-12-01 10:58:32 -07:00
Gustav Westling
163b793f46 scripts: await useShellEnv 2022-12-01 12:58:29 -05:00
Max Howell
b814c21be3 Fix hardcoded /opt
Fixes #36
2022-12-01 09:22:32 -05:00
Max Howell
d9be5a35f9 build.ts only deps on deno
prevents dep injection
2022-11-30 15:47:09 -05:00
Max Howell
b6ac973010
no clearEnv (we wanna DEBUG=1) etc. 2022-11-17 14:29:15 -05:00
Max Howell
7d19dbf225 +libuv 2022-11-11 08:39:40 -05:00
Max Howell
5fc40d6c4f
fixes building llvm.org^12 (#25) 2022-11-10 19:53:26 -05:00
Max Howell
4300501ada +nasm.us 2022-11-10 17:36:37 -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