mirror of https://github.com/tstellar/bygfoot.git
workflows: Run some simple tests
This commit is contained in:
parent
fee600aa24
commit
a643330f52
|
@ -1,6 +1,8 @@
|
||||||
name: Package bygfoot
|
name: Package bygfoot
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BYGFOOT_VERSION: "2.3.3-unofficial-git-${{ github.sha }}"
|
BYGFOOT_VERSION: "2.3.3-unofficial-git-${{ github.sha }}"
|
||||||
|
@ -43,6 +45,29 @@ jobs:
|
||||||
name: "bygfoot-${{ env.BYGFOOT_VERSION }}-linux${{ matrix.build-suffix }}"
|
name: "bygfoot-${{ env.BYGFOOT_VERSION }}-linux${{ matrix.build-suffix }}"
|
||||||
path: "*.bz2"
|
path: "*.bz2"
|
||||||
|
|
||||||
|
test-linux:
|
||||||
|
needs:
|
||||||
|
- package-linux
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-16.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: "bygfoot-${{ env.BYGFOOT_VERSION }}-linux"
|
||||||
|
|
||||||
|
- name: Unpack binary package
|
||||||
|
run: |
|
||||||
|
ls
|
||||||
|
tar -xjf bygfoot-${{ env.BYGFOOT_VERSION }}.tar.bz2
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: |
|
||||||
|
bash ./test/test-load-save.sh ./bygfoot-${{ env.BYGFOOT_VERSION }}/bygfoot
|
||||||
|
bash ./test/test-country-defs.sh ./bygfoot-${{ env.BYGFOOT_VERSION }}/bygfoot || true
|
||||||
|
|
||||||
|
|
||||||
package-windows:
|
package-windows:
|
||||||
runs-on:
|
runs-on:
|
||||||
- windows-2016
|
- windows-2016
|
||||||
|
|
Loading…
Reference in New Issue