Commit graph

116 commits

Author SHA1 Message Date
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
Max Howell
2bb2229be6
build.ts needs to link 2022-11-09 11:24:58 -05:00
Max Howell
e3ca0b4f31
Allow user editing of the build-script 2022-11-09 11:20:28 -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
Jacob Heider
97c055f0ea
deno needs cargo to build (#14)
* deno needs cargo to build

* can't pre-clean the deno dirs
2022-11-01 12:14:07 -04:00
Max Howell
dfb097f9d6
fix-macho fix (#13)
Co-authored-by: Jacob Heider <jacob@tea.xyz>
2022-10-31 08:07:18 -04:00
Jacob Heider
7d96f7c352
de-duplicate pantry scripts (#11) 2022-10-27 18:23:32 -04:00
Max Howell
8d594e2114
join doesn't normalize 2022-10-27 13:35:52 -04:00
Max Howell
6d6ccf652b Overlay ourselves before building
/opt is for builds, don’t run your main tea out of it
2022-10-27 11:30:21 -04:00
Max Howell
89bb6bf292
fixes because pantries changed (#2) 2022-10-25 21:55:49 -04:00
Jacob Heider
6f156603b7 glib (and friends!) linux build fixes (#204)
* glib linux build fixes
* gobj-intr
* include symlink step when testing, in case a subsequent test requires it
* fix harfbuzz build

Co-authored-by: Max Howell <mxcl@me.com>
2022-10-24 15:29:00 -04:00
Max Howell
cf07590f11 Fix uploads 2022-10-17 15:36:37 -04:00