From a6fac9d1d4612576428b75a7f6534b2da3e27e87 Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Tue, 4 Jul 2023 23:00:48 -0400 Subject: [PATCH] Test love2d --- .github/workflows/love.yml | 23 +++++++++++++++++++++++ .github/workflows/nix_ci.yml | 7 ------- 2 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/love.yml diff --git a/.github/workflows/love.yml b/.github/workflows/love.yml new file mode 100644 index 0000000..2415523 --- /dev/null +++ b/.github/workflows/love.yml @@ -0,0 +1,23 @@ +name: build & run tests (Win) + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + strategy: + fail-fast: false + runs-on: "windows-2019" + steps: + - uses: actions/checkout@v2 + - uses: nhartland/love-build@v1-beta2 + with: + app_name: 'love_test' + love_version: '11.4' + source_dir: 'test' + - name: Run Tests + run: | + ./release/love_tests.exe \ No newline at end of file diff --git a/.github/workflows/nix_ci.yml b/.github/workflows/nix_ci.yml index fdfc909..a36c4d3 100644 --- a/.github/workflows/nix_ci.yml +++ b/.github/workflows/nix_ci.yml @@ -38,10 +38,3 @@ jobs: run: | source ${{github.workspace}}/lua-pkg/bin/activate lua tests/runtests.lua - - - name: Run Tests using LÖVE - run: | - nix-shell -p love - love tests - -