Test love2d
This commit is contained in:
parent
7ba642342d
commit
a6fac9d1d4
23
.github/workflows/love.yml
vendored
Normal file
23
.github/workflows/love.yml
vendored
Normal file
@ -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
|
||||||
7
.github/workflows/nix_ci.yml
vendored
7
.github/workflows/nix_ci.yml
vendored
@ -38,10 +38,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source ${{github.workspace}}/lua-pkg/bin/activate
|
source ${{github.workspace}}/lua-pkg/bin/activate
|
||||||
lua tests/runtests.lua
|
lua tests/runtests.lua
|
||||||
|
|
||||||
- name: Run Tests using LÖVE
|
|
||||||
run: |
|
|
||||||
nix-shell -p love
|
|
||||||
love tests
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user