0
0
Fork 0
mirror of https://github.com/mumble-voip/mumble.git synced 2025-03-14 20:53:06 +00:00
mumble-voip_mumble/.github/actions/install-dependencies/action.yml
Robert Adam c03521593c CI: Introduce GitHub Actions
Now that Travis CI decided to stop offering their services for free, we
had to look for an alternative solution. GitHub Actions seems to fit the
picture really well and has the benefit of being tightly integrated into
GitHub (obviously).

For now only shared builds for Ubuntu 18.04 and 20.04 are included. The
scripts and the framework for also including static builds is part of
this commit as well but as it stands the static build always failed and
therefore it was given up upon for now.

Adding support for other OS will require a few tweaks and a couple of
new scripts but in general the framework was built with this kind of
extension in mind.
2020-11-29 17:40:15 +01:00

22 lines
647 B
YAML

name: 'Install Dependencies'
description: 'Install the required build dependencies based on the runner''s OS'
author: 'Mumble Developers'
inputs:
type:
description: 'The type of dependencies to install ("static" or "shared")'
required: True
os:
description: 'The OS to fetch the dependencies for'
required: True
arch:
description: 'The architecture to fetch the deps for'
required: True
default: '64bit'
runs:
using: "composite"
steps:
- run: '$GITHUB_ACTION_PATH/main.sh "${{ inputs.os }}" "${{ inputs.type }}" "${{ inputs.arch }}"'
shell: bash