From 2314d3dbf09f327ea0b5be097fbc63766cf5388c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 18 Jun 2025 08:33:55 -0700 Subject: [PATCH] ci: run freebsd tests on Namespace --- .github/workflows/test.yml | 5 ++++- src/os/i18n.zig | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec48ae9db..2e9a4ef52 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -270,12 +270,15 @@ jobs: ghostty-source.tar.gz build-freebsd: - runs-on: ubuntu-latest + runs-on: namespace-profile-ghostty-md-systemd needs: test steps: - name: Checkout code uses: actions/checkout@v4 + # Needed to work on Namespace + - run: sudo systemctl start ssh + - name: test uses: vmactions/freebsd-vm@v1 with: diff --git a/src/os/i18n.zig b/src/os/i18n.zig index d71b544ee..c5fca6a78 100644 --- a/src/os/i18n.zig +++ b/src/os/i18n.zig @@ -68,9 +68,10 @@ pub const InitError = error{ /// want to set the domain for the entire application since this is also /// used by libghostty. pub fn init(resources_dir: []const u8) InitError!void { - // i18n is unsupported on Windows switch (builtin.os.tag) { + // i18n is unsupported on Windows .windows => return, + else => { // Our resources dir is always nested below the share dir that // is standard for translations.