Commit graph

117 commits

Author SHA1 Message Date
Jacob Heider
a26eec476d restore brewkit to ^0.7.1
also hack to get tests working again
2023-03-09 19:25:26 -05:00
Max Howell
9a351d6e8e
Don’t set TEA_PREFIX (#522)
* Don’t set TEA_PREFIX

Fixes https://github.com/teaxyz/cli/issues/427

We build to TEA_PREFIX by default in pantry dev-envs now. You can still override this if you want.

`TEA_PANTRY_PATH=foo tea bar` will now use

* wip
2023-03-09 10:39:49 -05:00
Jacob Heider
d1387ce13d fix making certain changes in packages 2023-03-03 19:40:05 -05:00
Jacob Heider
7535698058
all the duck in a row 2023-03-03 18:23:29 -05:00
Jacob Heider
7426d862c2
cleanup 2023-03-03 18:18:05 -05:00
Jacob Heider
6a799a5d47
extra fancy version 2023-03-03 18:09:23 -05:00
Jacob Heider
6dd73eb14e
unlink a little harder 2023-03-03 17:44:47 -05:00
Jacob Heider
b0eb1fed1f
Use --unlink when extracting build artifacts to prevent issues 2023-03-03 17:30:33 -05:00
Jacob Heider
04cd68f914
use relatative-srcs (which can be empty) 2023-03-02 17:38:39 -05:00
Max Howell
3053d71414
k no 2023-02-27 09:53:49 -05:00
Max Howell
0d6b087c50
The action doesn’t create the file if not exist
Refs https://github.com/fregante/setup-git-user/issues/9
2023-02-27 09:43:44 -05:00
Max Howell
0a7f2d6bf1
Ensure git has a user set up for builds
python-venv script needs git now—because pip install . requires that the checkout has a git tag to tell it what version it is building lol
2023-02-27 09:25:52 -05:00
Max Howell
e9c6d16019
For some reason pantry path isn't getting set 2023-02-25 11:31:33 -05:00
Max Howell
6d48c72aca
Actions Refactor (#336) 2023-02-24 15:50:10 -05:00
Jacob Heider
b16629a131
workable test for remote PRs 2023-02-22 19:07:17 -05:00
Jacob Heider
57de8ac41a
only run signing internally 2023-02-22 16:13:10 -05:00
Max Howell
167f603627
fix tests
pantry.core sets TEA_PREFIX for local dev which confuses things

Which is other bugs but I'm fixing those separately
2023-02-22 11:16:39 -05:00
Jacob Heider
f7ac88207e move codesigning before tests, since it can affect them 2023-02-21 19:28:45 -05:00
Jacob Heider
b8bfccf7c0
fix(ruby/rubygems) (#319)
* fix(ruby/rubygems)

Ruby is pulling in system gmp

* missed this in all the updates
2023-02-17 21:07:30 -05:00
Jacob Heider
55ec7e2d30
better cache paths
ref https://github.com/actions/cache/blob/main/examples.md#deno
2023-02-14 19:16:18 -05:00
Neil
7e54c84c03
indexing trigger: forgot aws and github token env (#274)
* #256 add AWS env vars in indexing script

* add GITHUB_TOKEN

---------

Co-authored-by: neil <neil@neils-MacBook-Pro.local>
2023-02-13 08:52:30 +08:00
Max Howell
4528fa0d7d
fix ci/cd 2023-02-11 10:38:39 -05:00
Max Howell
42b5d93576 bump actions/cache 2023-02-11 08:14:40 -05:00
Max Howell
35f8578d04
+cJSON using +tea.xyz/brewkit 2023-02-11 05:52:24 -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
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
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
Jacob Heider
c061a74eb3
removed slim tag
fixes https://github.com/teaxyz/infuser/issues/15
2023-01-31 15:07:23 -05:00
Jacob Heider
ff5b6df07f
sync before copy 2023-01-25 16:33:15 -05:00
Jacob Heider
4bad6b0b9b hard-code build exceptions 2023-01-16 13:33:04 -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
b8ca94a587 add build.cores yaml key to control min-required build machine 2023-01-12 17:42:51 -05:00
Jacob Heider
8eb0f4778e need to test for 'true'/'false' 2023-01-11 18:39:14 -05:00
Jacob Heider
7d04574f8c move to 4core linux for builds 2023-01-06 17:34:53 -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
8924220af0
better ci/cd for 3rd-party contributions 2023-01-05 18:31:35 -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
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
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