diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index 54a70a3..220d06e 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -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 diff --git a/flake.nix b/flake.nix index 3f853dd..fa20253 100644 --- a/flake.nix +++ b/flake.nix @@ -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 -- \"$@\"";