ci: run freebsd tests on Namespace

This commit is contained in:
Mitchell Hashimoto
2025-06-18 08:33:55 -07:00
parent d6b2d0ef2a
commit 2314d3dbf0
2 changed files with 6 additions and 2 deletions

View File

@@ -270,12 +270,15 @@ jobs:
ghostty-source.tar.gz ghostty-source.tar.gz
build-freebsd: build-freebsd:
runs-on: ubuntu-latest runs-on: namespace-profile-ghostty-md-systemd
needs: test needs: test
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
# Needed to work on Namespace
- run: sudo systemctl start ssh
- name: test - name: test
uses: vmactions/freebsd-vm@v1 uses: vmactions/freebsd-vm@v1
with: with:

View File

@@ -68,9 +68,10 @@ pub const InitError = error{
/// want to set the domain for the entire application since this is also /// want to set the domain for the entire application since this is also
/// used by libghostty. /// used by libghostty.
pub fn init(resources_dir: []const u8) InitError!void { pub fn init(resources_dir: []const u8) InitError!void {
// i18n is unsupported on Windows
switch (builtin.os.tag) { switch (builtin.os.tag) {
// i18n is unsupported on Windows
.windows => return, .windows => return,
else => { else => {
// Our resources dir is always nested below the share dir that // Our resources dir is always nested below the share dir that
// is standard for translations. // is standard for translations.