mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-15 06:16:11 +00:00
ci: run freebsd tests on Namespace
This commit is contained in:
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@@ -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:
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user