Skip to content

CI: Run LMMS

CI: Run LMMS #1

Workflow file for this run

---
name: build
'on': [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-help-linux:

Check failure on line 8 in .github/workflows/run-help.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/run-help.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
needs: linux
name: linux
runs-on: ubuntu-latest
container: ghcr.io/lmms/linux.gcc:20.04
steps:
- name: Display help
run: |
install/bin/lmms --help | grep "Usage: lmms"
run-help-macos:
needs: macos
strategy:
fail-fast: false
matrix:
arch: [ x86_64, arm64 ]
name: macos-${{ matrix.arch }}
runs-on: ${{ matrix.os }}
env:
MAKEFLAGS: -j3
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Display help
run: >
build/LMMS.app/Contents/MacOS/lmms --help | grep "Usage: lmms"
- name: Display version
run: build/LMMS.app/Contents/MacOS/lmms --version | grep "Copyright (c) .* LMMS Developers"
run-help-mingw:
needs: mingw
strategy:
fail-fast: false
matrix:
arch: ['32', '64']
name: mingw${{ matrix.arch }}
runs-on: ubuntu-latest
container: ghcr.io/lmms/linux.mingw:20.04
steps:
- name: Display help
run: >
WINEPREFIX=/tmp/lmms-wineprefix
wine "build/install/lmms.exe" --help |
grep "Usage: lmms"
run-help-msvc:
needs: msvc
strategy:
fail-fast: false
matrix:
arch: ['x86', 'x64']
name: msvc-${{ matrix.arch }}
runs-on: windows-2019
steps:
- name: Display help
run: >
$result = & "build/install/lmms.exe" "--help" |
Select-String "Usage: lmms";
if($result.Matches.Count -eq 0) { exit 1 }