67 Commits

Author SHA1 Message Date
Mitchell Hashimoto
90b5fdeede ci: don't run gtk tests in CI 2023-09-18 15:46:57 -07:00
Mitchell Hashimoto
d94cf2f124 remove flatpak
Flatpak support has been a HUGE pain to keep working, the builds take
forever and cost me real money, and there are very few users. Ideally,
we want to just use native system packagers for each distro. I thought
Flatpak would make it easy to support many distros but that ended up
being false.
2023-09-13 11:41:16 -07:00
dependabot[bot]
d9cce27ab9 build(deps): bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 00:18:51 +00:00
Mitchell Hashimoto
f9eaab21a1 ci: upload tip releases to blob storage 2023-09-12 09:22:47 -07:00
Mitchell Hashimoto
342df1e994 Merge pull request #407 from mitchellh/dependabot/github_actions/cachix/install-nix-action-23
build(deps): bump cachix/install-nix-action from 22 to 23
2023-09-06 10:21:06 -07:00
dependabot[bot]
af36a49148 build(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
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-09-05 00:35:08 +00:00
dependabot[bot]
025fffbcfd build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 00:35:05 +00:00
Mitchell Hashimoto
7c6bbae6a6 ci: disable wasm build for now 2023-08-23 11:45:46 -07:00
Mitchell Hashimoto
68a9110d8e build: make glfw opt-in on all platforms, default to GTK on Linux
The GLFW build has grown farther and farther in feature parity with GTK
on Linux. And on macOS, the GLFW build has been unstable (crashes) for
months.

I still find the GLFW build useful for testing some core terminal work,
but it is increasingly user-hostile in case someone just downloads the
project and does a `zig build`.

I keep GLFW as up to date as I can, but the features that are missing
are due to fundamental limitations:

  - GLFW has no tabs, splits, etc. because it has no UI elements.
    I am not interested in painting UI widgets from scratch.

  - GLFW cannot support keyboard layouts robustly because it has no
    hooks to detect keyboard layouts or functions to get keymaps.

  - GLFW cannot support the Kitty keyboard protocol because the
    key/char API is too high level and it provides no low-level
    alternatives.

  - GLFW crashes on macOS under certain scenarios (this is my problem).
    I'm not interested in fixing it because the AppKit-based build
    is highly recommended.

To build or run the GLFW build you must now explicitly pass in
`-Dapp-runtime=glfw` to `zig build`.
2023-08-17 16:27:03 -07:00
Mitchell Hashimoto
923df53825 ci: use custom token for release so it isn't rate limited 2023-08-12 11:41:22 -07:00
Mitchell Hashimoto
a74a38b9de ci: release process must preserve symlinks
The code signature on mac builds uses the symlink so we have to preserve
it
2023-06-25 09:40:15 -07:00
Mitchell Hashimoto
f9978e8524 build: Copy terminfo resources from xcodeproj
This should fix #158. Instead of manually copying the resources, we
create a relative dependency from the xcodeproj directly so that
xcodebuild should handle this for us.
2023-06-25 09:09:23 -07:00
Mitchell Hashimoto
629f8f93d6 ci: during release builds, copy terminfo db into mac app bundle 2023-06-24 11:50:17 -07:00
Mitchell Hashimoto
0044776700 update cachix action for macos 12 2023-06-17 13:59:44 -07:00
dependabot[bot]
7553b4dab0 build(deps): bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
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-05-25 01:04:29 +00:00
dependabot[bot]
85132606c8 build(deps): bump flatpak/flatpak-github-actions from 5 to 6
Bumps [flatpak/flatpak-github-actions](https://github.com/flatpak/flatpak-github-actions) from 5 to 6.
- [Release notes](https://github.com/flatpak/flatpak-github-actions/releases)
- [Commits](https://github.com/flatpak/flatpak-github-actions/compare/v5...v6)

---
updated-dependencies:
- dependency-name: flatpak/flatpak-github-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 01:04:15 +00:00
Mitchell Hashimoto
88a7b3067a ci: add timeout to release 2023-03-20 20:59:33 -07:00
Mitchell Hashimoto
4f9d949aec ci: set git committer for release tag 2023-03-05 11:50:22 -08:00
Mitchell Hashimoto
6a320db349 ci: release tag after builds are done 2023-03-05 09:00:50 -08:00
Mitchell Hashimoto
93d7f4d76b ci: automatically set macos app build number 2023-03-04 20:41:09 -08:00
dependabot[bot]
cb8f44667e build(deps): bump cachix/install-nix-action from 19 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
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-03-02 01:14:11 +00:00
Mitchell Hashimoto
82706050d9 Merge pull request #81 from mitchellh/dependabot/github_actions/flatpak/flatpak-github-actions-5
build(deps): bump flatpak/flatpak-github-actions from 4 to 5
2023-02-27 17:43:12 -08:00
dependabot[bot]
c4e29b0c42 build(deps): bump flatpak/flatpak-github-actions from 4 to 5
Bumps [flatpak/flatpak-github-actions](https://github.com/flatpak/flatpak-github-actions) from 4 to 5.
- [Release notes](https://github.com/flatpak/flatpak-github-actions/releases)
- [Commits](https://github.com/flatpak/flatpak-github-actions/compare/v4...v5)

---
updated-dependencies:
- dependency-name: flatpak/flatpak-github-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 01:15:10 +00:00
dependabot[bot]
9ae6840e37 build(deps): bump docker/setup-qemu-action from 1 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 01:15:07 +00:00
Mitchell Hashimoto
277fd333ae remove gtk build from test, doesn't work in CI 2023-02-27 15:02:03 -08:00
Mitchell Hashimoto
b25adb3bdf ci: clean artifacts, move flatpak to release tip 2023-02-27 14:54:44 -08:00
Mitchell Hashimoto
dcff7c2998 ci: try multiarch flatpak builder 2023-02-27 14:38:06 -08:00
Mitchell Hashimoto
533cfbc9b8 ci: add flatpak builder 2023-02-27 14:37:52 -08:00
Mitchell Hashimoto
e3e1e6c521 github: trying to add flatpak builds 2023-02-27 13:58:16 -08:00
Mitchell Hashimoto
fbcd5bc0c8 ci: fix path to release app 2023-02-19 11:48:30 -08:00
Mitchell Hashimoto
9c0eb01393 ci: use shell to git push tag for release 2023-02-19 11:29:09 -08:00
Mitchell Hashimoto
d0f82f96ae ci: release updated to work with new xcodebuild 2023-02-19 10:45:22 -08:00
Mitchell Hashimoto
4dd4bbf7e0 macos: disable code signing for now 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
6de6f100a9 ci: revert back to scripting xcodebuild (broken) 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
5d6e41557e ci: try to xcodebuild 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
aa640fa29b ci: build macos app 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
fb1b032929 ci: trying to build macos 2023-02-19 10:44:53 -08:00
Mitchell Hashimoto
caa27fcf98 ci: use -Doptimize 2023-02-14 21:25:41 -08:00
dependabot[bot]
ba55791a51 build(deps): bump cachix/install-nix-action from 18 to 19
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19)

---
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-02-07 00:20:04 +00:00
Mitchell Hashimoto
61450fce25 Test wasm builds in CI 2022-12-24 11:04:35 -08:00
Mitchell Hashimoto
a3412fe9ab ci: notarize 2022-11-21 13:13:04 -08:00
Mitchell Hashimoto
f6dd40f854 ci: set executable bit for binary 2022-11-21 11:44:03 -08:00
Mitchell Hashimoto
b44537d198 ci: macos 12 2022-11-21 11:29:30 -08:00
Mitchell Hashimoto
b05aab7ac6 ci: try macos 12 2022-11-21 11:15:45 -08:00
Mitchell Hashimoto
a45c8c1f7e ci: release into zig-out 2022-11-21 10:48:53 -08:00
Mitchell Hashimoto
7d81013d56 ci: release will always do unsigned first 2022-11-21 10:33:12 -08:00
Mitchell Hashimoto
cd7a126015 sign release bundle 2022-11-21 10:16:36 -08:00
Mitchell Hashimoto
12e9b7cda0 ci: release should update tip tag 2022-11-21 09:44:06 -08:00
Mitchell Hashimoto
fc18be5d32 release-tip should update the SHA 2022-11-17 12:15:23 -08:00
Mitchell Hashimoto
7a23c24211 fix skip on tip release 2022-11-17 11:44:40 -08:00