Add github actions

This commit is contained in:
Insality 2020-10-16 10:34:01 +03:00
parent cecd8c9d5a
commit 92abfb3d73
2 changed files with 29 additions and 0 deletions

20
.github/workflows/ci-workflow.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Run tests
on: [push]
jobs:
build_and_run:
name: Build and run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-java@v1
with:
java-version: '13'
- name: Build && Run
run: |
deployer_url="https://raw.githubusercontent.com/Insality/defold-deployer/1/deployer.sh"
curl -s ${deployer_url} | bash -s lbd --headless --settings ./unit_test.txt

9
unit_test.txt Normal file
View File

@ -0,0 +1,9 @@
[bootstrap]
main_collection = /example/kenney.collectionc
[display]
height = 256
width = 256
[test]
report = 1