Merge workflows #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow builds two test applications, one with and one without luarocks | ||
name: Testing | ||
on: | ||
push: | ||
branches: [ master, dev ] | ||
jobs: | ||
# Build the Hello World test application | ||
build-hello_world: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
love_version: ['11.5', '11.4', '11.3', '11.2', '0.10.2', '0.9.2', '0.8.0'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: nhartland/love-build@${{ github.ref_name }} | ||
Check failure on line 16 in .github/workflows/test_workflow.yml
|
||
id: love-build | ||
with: | ||
app_name: 'hello_world' | ||
love_version: ${{ matrix.love_version }} | ||
source_dir: 'tests/hello_world' | ||
# Upload the resulting artifacts | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: hw_macos-build | ||
path: ${{ steps.love-build.outputs.macos-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: hw_win32-build | ||
path: ${{ steps.love-build.outputs.win32-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: hw_win64-build | ||
path: ${{ steps.love-build.outputs.win64-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: hw_love-build | ||
path: ${{ steps.love-build.outputs.love-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: hw_linux_x86_64-build | ||
path: ${{ steps.love-build.outputs.linux_x86_64-filename }} | ||
# Build the Game of Life test application | ||
build-game_of_life: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
love_version: ['11.5', '11.4', '11.3', '11.2', '0.10.2', '0.9.2', '0.8.0'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: nhartland/love-build@${{ github.ref_name }} | ||
id: love-build | ||
with: | ||
app_name: 'game_of_life' | ||
love_version: ${{ matrix.love_version }} | ||
source_dir: 'tests/game_of_life' | ||
dependencies: 'tests/game_of_life/dependencies-1-1.rockspec' | ||
# Upload the resulting artifacts | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gol_macos-build | ||
path: ${{ steps.love-build.outputs.macos-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gol_win32-build | ||
path: ${{ steps.love-build.outputs.win32-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gol_win64-build | ||
path: ${{ steps.love-build.outputs.win64-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gol_love-build | ||
path: ${{ steps.love-build.outputs.love-filename }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gol_linux_x86_64-build | ||
path: ${{ steps.love-build.outputs.linux_x86_64-filename }} | ||