Graham Christensen
0be89227cb
fixup tag release
2023-05-23 07:56:17 -04:00
Zhaofeng Li
90320a0cbd
Add some cursed setup for cross-compilation in shell
...
Yes, we _can_ cross-compile to multiple systems in a single devShell :D
Linux cross-compilation already works because we don't have any
buildInputs, but this allows macOS to work. Now x86_64-darwin can
cross-compile to all supported targets.
2023-05-22 16:00:34 -06:00
Zhaofeng Li
aa42404970
crane.nix: Expose buildInputs in crossPlatforms
2023-05-22 16:00:34 -06:00
Zhaofeng Li
646507a02c
crane.nix: Remove propagated libiconv from rust-overlay toolchain
2023-05-22 16:00:34 -06:00
Zhaofeng Li
e4c22456ef
Configure nightly toolchain in crane.nix
...
Get rid of this non-intuitive dependency of cranePkgs.cargoTargets.
2023-05-22 16:00:34 -06:00
Zhaofeng Li
2f25e613b2
flake.nix: Fix inputsFrom
2023-05-22 16:00:34 -06:00
Zhaofeng Li
fb5c42e7c8
gha-cache: Increase chunk size
...
This matches the behavior in the official toolkit:
<457303960f/packages/cache/src/options.ts (L6-L19)
>
2023-05-22 16:00:34 -06:00
Zhaofeng Li
d1e56e0796
Disable unused Cargo features
2023-05-22 16:00:34 -06:00
Zhaofeng Li
0cd6c9c059
Misc cleanup
2023-05-22 16:00:34 -06:00
Graham Christensen
cbf329f087
Update release-branches.yml
2023-05-22 17:43:39 -04:00
Graham Christensen
17b27eacbb
Merge pull request #7 from DeterminateSystems/release-automation
...
Release automation: upload to s3
2023-05-22 16:30:09 -04:00
Graham Christensen
d6bf578707
Update .github/workflows/build.yaml
...
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2023-05-22 16:08:40 -04:00
Graham Christensen
2b56c6586c
Update .github/workflows/build.yaml
...
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2023-05-22 16:08:32 -04:00
Graham Christensen
bbaeca10a8
Update .github/workflows/release-prs.yml
2023-05-22 16:06:24 -04:00
Graham Christensen
6f8baf4345
Update .github/workflows/upload_s3.sh
...
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2023-05-22 16:05:39 -04:00
Graham Christensen
3d372eef04
Fixup PR-based links
2023-05-22 16:00:53 -04:00
Graham Christensen
ea4ce1da82
drop goop
2023-05-22 15:47:20 -04:00
Graham Christensen
3597849148
Add an architecture prefix to the OS
...
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2023-05-22 15:45:55 -04:00
Graham Christensen
cef074e3b3
Don't run build.yaml ever, let the release-* jobs trigger it
2023-05-22 09:36:36 -04:00
Graham Christensen
346330fda1
Don't build on push
2023-05-22 09:12:21 -04:00
Graham Christensen
cb91725824
Don’t run the curl commands lol
2023-05-21 21:41:21 -04:00
Graham Christensen
29d8f15b21
Try read perms on the repo contents
2023-05-21 21:25:28 -04:00
Graham Christensen
804f27c3f1
...
2023-05-21 20:59:13 -04:00
Graham Christensen
f8927525ee
?
2023-05-21 20:57:53 -04:00
Graham Christensen
baec1b19f6
???
2023-05-21 20:56:58 -04:00
Graham Christensen
472f695787
pretty sure this won't work
2023-05-21 20:42:39 -04:00
Graham Christensen
bff88ada04
setup needs relationships
2023-05-21 20:34:54 -04:00
Graham Christensen
e6c72f9c32
Release via install.determinate.systems
2023-05-21 20:28:43 -04:00
Graham Christensen
c75859eb75
Checks: don't do a slow, expensive, ineffective check of the binaries
2023-05-21 20:28:43 -04:00
Zhaofeng Li
fc80531e5e
Use correct port and compression for nix copy
2023-05-19 13:00:36 -06:00
Zhaofeng Li
ec04905db4
Implement negative caching for narinfo
...
Fixes #4 .
2023-05-19 13:00:36 -06:00
Zhaofeng Li
1c623c091c
Slightly better logging
2023-05-19 13:00:36 -06:00
Zhaofeng Li
0505b9c89a
More docs
2023-05-19 13:00:36 -06:00
Zhaofeng Li
d8b9ff7bbd
Fix crane package version
2023-05-19 13:00:36 -06:00
Zhaofeng Li
775ea030b4
README.md: Track tasks in issues instead
2023-05-19 13:00:36 -06:00
Zhaofeng Li
d683065dc1
Automatically push new store paths at the end of workflow
2023-05-19 02:48:52 -06:00
Zhaofeng Li
33d85fe7aa
Rename api -> binary_cache
2023-05-19 02:48:52 -06:00
Zhaofeng Li
edf8c28e57
flake.lock: Update
2023-05-19 02:48:52 -06:00
Zhaofeng Li
421921ef1c
Add package
2023-05-19 02:48:52 -06:00
Zhaofeng Li
6c3aae7d27
Add finish endpoint for GitHub Actions
2023-05-19 02:48:52 -06:00
Zhaofeng Li
0e0bef15fb
Support forking into background
...
This makes the JS action simpler.
2023-05-19 02:48:52 -06:00
Zhaofeng Li
ecced7bc94
Refactor
2023-05-19 02:48:52 -06:00
Zhaofeng Li
1cfe2ca457
gha-cache: Better debug logging
2023-05-19 02:48:52 -06:00
Zhaofeng Li
233c024a10
gha-cache: Strip UTF-8 BOM in error responses
2023-05-19 02:48:52 -06:00
Zhaofeng Li
b81e652412
Merge pull request #5 from DeterminateSystems/build-in-ci
2023-05-18 23:28:07 -06:00
Graham Christensen
81af9b36fb
Use the upstream caching action, build ourselves, and re-run using our own built version
2023-05-18 14:48:20 -04:00
Graham Christensen
3623d6aee8
build on macos
2023-05-18 12:17:30 -04:00
Graham Christensen
208f65fc63
Try building and uploading release artifacts for x86_64-linux
2023-05-18 12:10:55 -04:00
Zhaofeng Li
61a0940aeb
gha-cache: Remove done TODO
2023-05-08 13:01:16 -06:00
Zhaofeng Li
03726dd5ba
Parallelize chunk uploads
2023-05-08 12:59:57 -06:00