mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-21 00:48:36 +03:00
update CI
This commit is contained in:
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@ -39,3 +39,25 @@ jobs:
|
|||||||
# will ensure we have all our dependencies.
|
# will ensure we have all our dependencies.
|
||||||
- name: test
|
- name: test
|
||||||
run: nix develop -c zig build -Dtarget=${{ matrix.target }}
|
run: nix develop -c zig build -Dtarget=${{ matrix.target }}
|
||||||
|
|
||||||
|
test:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
# Install Nix and use that to run our tests so our environment matches exactly.
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
|
||||||
|
# Run our go tests within the context of the dev shell from the flake. This
|
||||||
|
# will ensure we have all our dependencies.
|
||||||
|
- name: test
|
||||||
|
run: nix develop -c zig build test
|
||||||
|
Reference in New Issue
Block a user