176 Commits

Author SHA1 Message Date
Mitchell Hashimoto
1189a0974d ci: switch linux to namespace 2024-02-10 13:41:41 -08:00
Mitchell Hashimoto
5ad1dab3cc ci: try namespace 2024-02-10 13:36:09 -08:00
Mitchell Hashimoto
e44338b1c0 ci: no, build on mediums 2024-02-10 13:16:13 -08:00
Mitchell Hashimoto
e99b8d4134 ci: try small instances 2024-02-10 13:09:00 -08:00
Mitchell Hashimoto
e45b3b4d48 ci: test self-hosted x86 runners 2024-02-10 09:38:20 -08:00
Mitchell Hashimoto
79f7c44e82 ci: re-enable windows builds 2024-02-04 15:37:42 -08:00
Mitchell Hashimoto
55cac84f5e ci: temporarily disable windows builds while Zig regression is fixed 2024-01-26 09:19:31 -08:00
Mitchell Hashimoto
d569334fe9 ci: make sure to explicitly always test docgen 2024-01-21 14:50:43 -08:00
Mitchell Hashimoto
50054f8535 ci: libghostty on Linux build 2024-01-18 09:01:36 -08:00
dependabot[bot]
0a67718c28 build(deps): bump cachix/cachix-action from 13 to 14
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 00:56:58 +00:00
Mitchell Hashimoto
d5ffdcda93 update zig 2024-01-15 07:53:09 -08:00
Mitchell Hashimoto
326a817bf0 ci: ios build does not use code signing 2024-01-14 19:48:41 -08:00
Mitchell Hashimoto
b17c33bfb0 ci: try building iOS target in CI 2024-01-14 19:09:47 -08:00
Mitchell Hashimoto
a12ef43441 ci: specifically target the main Ghostty target 2024-01-14 19:06:01 -08:00
Mitchell Hashimoto
b2cdc9401f ci: only output build.log once for windows build 2024-01-12 10:03:14 -08:00
Mitchell Hashimoto
9c4bb58846 ci: do not cross-compile windows 2024-01-12 09:45:00 -08:00
Mitchell Hashimoto
f6e93c8748 ci: release should only run with a main main ref 2024-01-07 12:34:36 -08:00
Mitchell Hashimoto
64e3cbf28c ci: explicitly sign our release entitlements on build
Fixes #1169
2023-12-28 10:37:45 -08:00
Mitchell Hashimoto
c2a132c068 ci: remove macos unsigned releases 2023-12-27 22:25:38 -08:00
dependabot[bot]
6a726ed715 build(deps): bump cachix/cachix-action from 12 to 13
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 00:57:44 +00:00
Mitchell Hashimoto
188f82c16e ci: build-nix and test are not matrix tests 2023-12-22 15:27:48 -08:00
Mitchell Hashimoto
f56ed57b57 prettier 2023-12-22 14:49:32 -08:00
Mitchell Hashimoto
b222cf33bd ci: swap magic-nix-cache with cachix
Cachix doesn't have rate limit issues like GitHub Actions does and I'd
love to support the Nix community. Plus, I have experience with Cachix
before and they've been so great.
2023-12-22 14:36:28 -08:00
Mitchell Hashimoto
98abf0d186 ci: build-nix depends on test like other package builds 2023-12-22 14:29:37 -08:00
Mitchell Hashimoto
18ada8d118 ci: move nix build to dedicated job 2023-12-22 14:20:27 -08:00
Jeffrey C. Ollie
d8e1aebfcd enable magic nix cache to improve build times 2023-12-22 14:28:27 -06:00
Jeffrey C. Ollie
a995b6dbb0 fix nix package and add ci test for nix package build 2023-12-22 13:43:06 -06:00
Mitchell Hashimoto
d1b90e1689 ci: uncomment the release-to-github code 2023-12-19 09:38:02 -08:00
Mitchell Hashimoto
8218c96cc6 ci: manually codesign since --deep is deprecated 2023-12-19 08:04:21 -08:00
Mitchell Hashimoto
79416cc0a7 ci: codesign nested frameworks 2023-12-18 22:45:22 -08:00
Mitchell Hashimoto
b5aaad9d34 ci: correct filename for appcast 2023-12-18 21:32:22 -08:00
Mitchell Hashimoto
3baa6213b0 ci: disable releases temporarily 2023-12-18 21:25:26 -08:00
Mitchell Hashimoto
c352d88afd ci: generate appcast, upload it 2023-12-18 21:18:52 -08:00
Mitchell Hashimoto
51fa5ea3d4 ci: setup sparkle binaries in release 2023-12-18 20:18:46 -08:00
Mitchell Hashimoto
68a23e786d macos: put build numbers back into info.plist, other metadata
This adds more metadata back into the Info.plist for a build. This
metadata is used with the About window. The reason I want the build
number back is so that we have a monotonically increasing number to do
self-updating with (i.e. Sparkle).
2023-12-18 18:56:34 -08:00
Jeffrey C. Ollie
c4ed1f1b80 Use Alejandra to format Nix modules. 2023-12-12 11:38:39 -06:00
Mitchell Hashimoto
f12371ec1c Revert "Revert "ci: use Cirrus macOS VMs (#985)""
This reverts commit 7022fe86d52bece810a4b15354dc693cc1483ae1.
2023-12-04 11:01:19 -08:00
Mitchell Hashimoto
7022fe86d5 Revert "ci: use Cirrus macOS VMs (#985)"
This reverts commit 0da12bd10eb81090d9b6ed919befd7bdd37caf6d.

Secret access failed, we'll add this back once that is fixed.
2023-12-03 21:18:26 -08:00
Mitchell Hashimoto
0da12bd10e ci: use Cirrus macOS VMs (#985) 2023-12-03 20:46:01 -08:00
dependabot[bot]
191c4a061a build(deps): bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 00:46:10 +00:00
Chris Marchesi
47c249cc30 workflows: disable nix build job
Unfortunately building LLVM/Zig is much too slow on default GHA, so we
will need to keep this off until we don't need to do that.
2023-11-25 10:55:44 -08:00
Chris Marchesi
c3b44020f4 nix: add GitHub Actions workflow
This adds a nix workflow that does the following:

* Checks to see if the Zig cache fixed derivation needs its hash
  updated. It does this by downloading a new cache, calculating the
  hash, and comparing it against what has already been set. If the hash
  is different, the workflow fails.
* Runs a Nix build if the hash is OK, testing the build of
  packages.ghostty (using "nix build .")

The cache workflow we use in the build job comes from:
  https://github.com/DeterminateSystems/magic-nix-cache-action/

Fixes #937.
2023-11-24 17:07:55 -08:00
Mitchell Hashimoto
76353415a3 ci: release-tip only works on this repository 2023-11-14 08:41:59 -08:00
Mitchell Hashimoto
a864bfdd1d ci: style 2023-11-05 18:09:51 -08:00
Mitchell Hashimoto
59a3e22d39 ci: enable windows cross-compile build 2023-11-05 18:04:30 -08:00
hanna
3bee252389 Correct the option on the ci workflow 2023-11-02 22:05:28 -07:00
hanna
5a161719cc Update gtk build test to use libadwaita 2023-11-02 21:58:56 -07:00
Gregory Anders
72f754c6cf macos: use commit hash in version info instead of build number
Using the "build number" (i.e. the commit number) did not seem to work
correctly anyway (it always showed '1' for releases built in CI).
Presumably this is because GitHub performs a shallow clone so it does
not have full access to the Git history.

Instead of the build number, use the Git commit hash of HEAD, which
works even for shallow clones and is more useful for debugging.
2023-10-23 07:43:55 -05:00
Mitchell Hashimoto
b0f95263fc ci: don't specify -gnu on test triple 2023-10-17 13:07:18 -07:00
Mitchell Hashimoto
c708b5a384 ci: do not checkout submodules, because none exist 2023-10-07 14:53:17 -07:00