mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
libghostty-vt: nix package updates and more nix tests
This commit is contained in:
96
.github/workflows/test.yml
vendored
96
.github/workflows/test.yml
vendored
@@ -813,28 +813,40 @@ jobs:
|
||||
run: nm result/bin/.ghostty-wrapped 2>&1 | grep -q 'main_ghostty.main'
|
||||
|
||||
- name: Test ReleaseFast build of libghostty-vt
|
||||
run: nix build .#libghostty-vt-releasefast
|
||||
|
||||
- name: Check to see if the library looks sane
|
||||
run: nm result/lib/libghostty-vt.so.0.1.0 2>&1 | grep -q 'ghostty_terminal_new'
|
||||
run: |
|
||||
nix build .#libghostty-vt-releasefast
|
||||
nix build .#libghostty-vt-releasefast.tests.sanity-check
|
||||
nix build .#libghostty-vt-releasefast.tests.pkg-config
|
||||
nix build .#libghostty-vt-releasefast.tests.build-with-shared
|
||||
nix build .#libghostty-vt-releasefast.tests.build-with-static
|
||||
nix build .#libghostty-vt-releasefast.tests.build-example-c-vt-build-info
|
||||
|
||||
- name: Test ReleaseFast (no SIMD) build of libghostty-vt
|
||||
run: nix build .#libghostty-vt-releasefast-no-simd
|
||||
|
||||
- name: Check to see if the library looks sane
|
||||
run: nm result/lib/libghostty-vt.so.0.1.0 2>&1 | grep -q 'ghostty_terminal_new'
|
||||
run: |
|
||||
nix build .#libghostty-vt-releasefast-no-simd
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.sanity-check
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.pkg-config
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.build-with-shared
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.build-with-static
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.build-example-c-vt-build-info
|
||||
|
||||
- name: Test Debug build of libghostty-vt
|
||||
run: nix build .#libghostty-vt-debug
|
||||
|
||||
- name: Check to see if the library looks sane
|
||||
run: nm result/lib/libghostty-vt.so.0.1.0 2>&1 | grep -q 'ghostty_terminal_new'
|
||||
run: |
|
||||
nix build .#libghostty-vt-debug
|
||||
nix build .#libghostty-vt-debug.tests.sanity-check
|
||||
nix build .#libghostty-vt-debug.tests.pkg-config
|
||||
nix build .#libghostty-vt-debug.tests.build-with-shared
|
||||
nix build .#libghostty-vt-debug.tests.build-with-static
|
||||
nix build .#libghostty-vt-debug.tests.build-example-c-vt-build-info
|
||||
|
||||
- name: Test Debug (no SIMD) build of libghostty-vt
|
||||
run: nix build .#libghostty-vt-debug-no-simd
|
||||
|
||||
- name: Check to see if the library looks sane
|
||||
run: nm result/lib/libghostty-vt.so.0.1.0 2>&1 | grep -q 'ghostty_terminal_new'
|
||||
run: |
|
||||
nix build .#libghostty-vt-debug-no-simd
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.sanity-check
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.pkg-config
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.build-with-shared
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.build-with-static
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.build-example-c-vt-build-info
|
||||
|
||||
build-dist:
|
||||
runs-on: namespace-profile-ghostty-sm
|
||||
@@ -956,6 +968,58 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
build-nix-macos:
|
||||
runs-on: namespace-profile-ghostty-macos-tahoe
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
# Install Nix and use that to run our tests so our environment matches exactly.
|
||||
- uses: cachix/install-nix-action@96951a368ba55167b55f1c916f7d416bac6505fe # v31.10.3
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
|
||||
with:
|
||||
name: ghostty
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
|
||||
- name: Test ReleaseFast build of libghostty-vt
|
||||
run: |
|
||||
nix build .#libghostty-vt-releasefast
|
||||
nix build .#libghostty-vt-releasefast.tests.sanity-check
|
||||
nix build .#libghostty-vt-releasefast.tests.pkg-config
|
||||
nix build .#libghostty-vt-releasefast.tests.build-with-shared
|
||||
nix build .#libghostty-vt-releasefast.tests.build-with-static
|
||||
nix build .#libghostty-vt-releasefast.tests.build-example-c-vt-build-info
|
||||
|
||||
- name: Test ReleaseFast (no SIMD) build of libghostty-vt
|
||||
run: |
|
||||
nix build .#libghostty-vt-releasefast-no-simd
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.sanity-check
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.pkg-config
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.build-with-shared
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.build-with-static
|
||||
nix build .#libghostty-vt-releasefast-no-simd.tests.build-example-c-vt-build-info
|
||||
|
||||
- name: Test Debug build of libghostty-vt
|
||||
run: |
|
||||
nix build .#libghostty-vt-debug
|
||||
nix build .#libghostty-vt-debug.tests.sanity-check
|
||||
nix build .#libghostty-vt-debug.tests.pkg-config
|
||||
nix build .#libghostty-vt-debug.tests.build-with-shared
|
||||
nix build .#libghostty-vt-debug.tests.build-with-static
|
||||
nix build .#libghostty-vt-debug.tests.build-example-c-vt-build-info
|
||||
|
||||
- name: Test Debug (no SIMD) build of libghostty-vt
|
||||
run: |
|
||||
nix build .#libghostty-vt-debug-no-simd
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.sanity-check
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.pkg-config
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.build-with-shared
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.build-with-static
|
||||
nix build .#libghostty-vt-debug-no-simd.tests.build-example-c-vt-build-info
|
||||
|
||||
build-macos:
|
||||
runs-on: namespace-profile-ghostty-macos-tahoe
|
||||
needs: test
|
||||
|
||||
Reference in New Issue
Block a user