Skip to content

Commit

Permalink
run tests on wine (fails currently)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudef committed Jul 19, 2024
1 parent 0928ced commit 944ed01
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ jobs:
- run: |
nix run .#test
nix run .#readme
windows-test:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
nix run .#wine_test
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
fi
'';

# nix run .#test_wine
apps.test_wine = with env.pkgs; env.app [ wineWowPackages.full ] ''
WINEDEBUG=-all zig build test -Dtarget=x86_64-windows -fwine
'';

# nix run .#docs
apps.docs = env.app [] "zig build docs -- \"$@\"";

Expand Down

0 comments on commit 944ed01

Please sign in to comment.