228 Commits

Author SHA1 Message Date
Mitchell Hashimoto
7e4a69e7df fix prettier 2024-12-27 11:45:57 -08:00
Mitchell Hashimoto
6f2a7d3c36 github: make things more clear 2024-12-27 11:34:09 -08:00
Mitchell Hashimoto
4b3c1b031e github: preapproved template needs to be md 2024-12-27 11:29:49 -08:00
Mitchell Hashimoto
83987968ac github: preapproved issue template 2024-12-27 11:22:25 -08:00
Mitchell Hashimoto
2998775152 github: issue template 2024-12-27 11:16:48 -08:00
Mitchell Hashimoto
05fd5e0cfd ci: release workflows build a dmg for macOS (#3047)
We've used a zip for the duration of the private beta but macOS users
expect a dmg. This commit changes both of our release workflows to begin
building a dmg instead of a zip.

![CleanShot 2024-12-20 at 21 26
53@2x](https://github.com/user-attachments/assets/2873854d-7849-4c53-9b58-e636ef8e2899)
2024-12-20 21:28:23 -08:00
Mitchell Hashimoto
555163cb1b ci: release workflows build a dmg for macOS
We've used a zip for the duration of the private beta but macOS users
expect a dmg. This commit changes both of our release workflows to begin
building a dmg instead of a zip.
2024-12-20 21:26:33 -08:00
Anthony
c6796ce33e Add --prefix option to git archive to extract with a top-level directory 2024-12-21 13:27:59 +11:00
Mitchell Hashimoto
8f15f1a066 Make Ghostty release channel aware
Ghostty now has a release channel build configuration. Current valid
values are "tip" and "stable" but I imagine more will be added in the
future.

The release channel is inferred whether the version we specify with the
`-Dversion-string` build flag has a prerelease tag or not. If it does,
the release channel is "tip". If it doesn't, the release channel is
"stable".

This also adds a configuration to specify the release channel for
auto-updates for the macOS application.
2024-12-20 14:21:59 -08:00
Mitchell Hashimoto
0abd4ea8a2 ci: release tag workflow
This adds a new workflow for building and releasing _tagged versions_
of Ghostty. The workflow is triggered automatically by new tags in the
format of `vX.Y.Z` but can also be manually triggered by running the
workflow from the GitHub Actions UI.

Release artifacts are uploaded to a completely separate R2 bucket
with its own access policy, retention, API keys, and so on.

There is currently no way to switch between "channels" in the macOS
app. I will follow up with a separate commit to add this feature.
2024-12-20 13:02:05 -08:00
Mitchell Hashimoto
486a5a4875 ci: tagged release workflow 2024-12-20 09:52:22 -08:00
Mitchell Hashimoto
c74966e07e build: change object story domain to ghostty.org 2024-12-20 08:58:46 -08:00
Mitchell Hashimoto
68bf5a9492 ci: on release, only upload appcast after binaries 2024-12-12 21:12:35 -08:00
Mitchell Hashimoto
10bbb7511b ci: colorscheme update should verify nix hash and build 2024-12-12 13:47:53 -08:00
Mitchell Hashimoto
5a085267ca prettier 2024-12-12 13:42:49 -08:00
Mitchell Hashimoto
9b4e3622aa ci: iTerm2 job should run on Namespace and use cache 2024-12-12 13:41:52 -08:00
Anmol Wadhwani
2c3e0df6e9 Use git diff --exit-code in conditional 2024-12-12 23:59:58 +05:30
Anmol Wadhwani
1403f21d1c Add weekly iterm2-colorschemes update workflow 2024-12-12 18:08:34 +05:30
Mitchell Hashimoto
d3b2f33061 ci: set xcode 16 on zig builds or macOS 2024-11-20 15:02:22 -08:00
Mitchell Hashimoto
3392659e1f Revert "macos: enable Metal shader logging"
This reverts commit aad101565abff3368af76e8c2e93cbe7c278a89f.
2024-11-20 15:01:27 -08:00
Mitchell Hashimoto
1798fc67bf ci: release job should set xcode version earlier 2024-11-20 14:14:53 -08:00
Mitchell Hashimoto
aad101565a macos: enable Metal shader logging
This enables the compile options and Xcode configuration so that logging
in Metal shaders shows up in our Xcode debug console. This doesn't add
any log messages, but makes it so that when we iterate on the shaders in
the future, we can add and see logs to help us out.
2024-11-19 18:59:41 -08:00
Jeffrey C. Ollie
783852ff48 ci: fix adwaita build 2024-11-09 12:24:25 -06:00
Mitchell Hashimoto
c47bf85e05 ci: concurrency control for releases 2024-10-24 20:45:26 -07:00
Mitchell Hashimoto
0a12bd756b ci: the fix for signing was to use the secrets directly 2024-10-24 20:36:32 -07:00
Mitchell Hashimoto
f011986a22 ci: sign debugging 2024-10-24 20:33:49 -07:00
Mitchell Hashimoto
52897236ff ci: fix signing 2024-10-24 20:24:46 -07:00
Mitchell Hashimoto
e5d041dde5 ci: try another signing method 2024-10-24 20:22:21 -07:00
Mitchell Hashimoto
09914dee22 ci: don't use -Dstatic for releasing 2024-10-24 20:15:57 -07:00
Mitchell Hashimoto
5f04dab2d1 ci: trying to fix signing 2024-10-24 20:14:41 -07:00
Mitchell Hashimoto
7296d7831d ci: install nix for sign tarball action 2024-10-24 20:07:44 -07:00
Mitchell Hashimoto
7ae5e7c83d ci: minisign must be run in the nix env 2024-10-24 20:06:24 -07:00
Mitchell Hashimoto
1a12355dc9 ci: add signing and tarball generation to release-tip workflow 2024-10-24 16:32:43 -07:00
Mitchell Hashimoto
b14f0f95a9 remove -Dstatic 2024-10-24 15:16:40 -07:00
Mitchell Hashimoto
7f791fa74f ci: test system package build 2024-10-24 15:05:13 -07:00
Rick Calixte
d0316b746d list_fonts and list_keybinds: Fix typos in documentation
test.yml: Switch to Windows Server 2022 and update Zig URL
2024-10-16 22:56:16 -04:00
dependabot[bot]
1cee9cc698 build(deps): bump cachix/install-nix-action from 29 to 30
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v29...v30)

---
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>
2024-10-04 00:16:50 +00:00
dependabot[bot]
48ef182bb0 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.8 to 1.2.0
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.8 to 1.2.0.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.8...v1.2.0)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 00:11:51 +00:00
Mitchell Hashimoto
3eb2e5f0f0 ci: re-enable the build matrix, not happy with this yet 2024-09-30 20:48:32 -07:00
Mitchell Hashimoto
0dc141d8bb ci: fix invalid dependency on test 2024-09-30 20:29:58 -07:00
Mitchell Hashimoto
d1fe931f59 ci: only run macos build matrix on main or demand
This is our longest running job in CI and I don't need it to run for
every PR. I'd like it running on main in case I miss a need for it in a
PR.
2024-09-30 20:24:55 -07:00
Mitchell Hashimoto
928c306f1b Merge pull request #2303 from ghostty-org/dependabot/github_actions/namespacelabs/nscloud-cache-action-1.1.8
build(deps): bump namespacelabs/nscloud-cache-action from 1.1.7 to 1.1.8
2024-09-26 22:06:43 -07:00
dependabot[bot]
998827e4c6 build(deps): bump cachix/install-nix-action from V28 to 29
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V28 to 29. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V28...v29)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 00:40:39 +00:00
dependabot[bot]
8b6e993481 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.7 to 1.1.8
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.7...v1.1.8)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 00:40:37 +00:00
Mitchell Hashimoto
08ee0c1038 ci: use xcode 16 2024-09-20 13:47:46 -07:00
dependabot[bot]
31207dbb6e build(deps): bump cachix/install-nix-action from V27 to 28
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V27 to 28. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V27...V28)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 00:56:03 +00:00
Mitchell Hashimoto
4cacea3813 apprt/gtk: inline adwaita checks so comptime disables conditional paths
This fixes building without libadwaita or building with an older version
of libadwaita. This also updates the CI to test this.
2024-09-12 09:34:39 -07:00
Mitchell Hashimoto
46dd8fa5c7 ci: test can be workflow dispatched 2024-09-11 10:59:15 -07:00
dependabot[bot]
2cfdd29535 build(deps): bump namespacelabs/nscloud-cache-action from 1.1.6 to 1.1.7
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.1.6 to 1.1.7.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](https://github.com/namespacelabs/nscloud-cache-action/compare/v1.1.6...v1.1.7)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-04 01:00:59 +00:00
Justin Su
b27667fcfc Don't run GitHub workflows on forks 2024-09-02 02:27:22 -04:00