rolling release 2.3.x #33
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
--- | |
name: Tests (Liquidsoap) | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
types: [opened, synchronize] | |
paths: | |
- "**/*.liq" | |
- ".github/workflows/test-liquidsoap.yml" | |
jobs: | |
liquidsoap-fmt: | |
name: liquidsoap scripts formatting (liquidsoap-prettier) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: 'npm install -g liquidsoap-prettier' | |
- run: | | |
ret=0 | |
for file in $(find . -type f -name "*.liq"); do | |
if ! liquidsoap-prettier -c "${file}"; then | |
ret=2 ; echo "${file} is not formatted" | |
fi | |
done | |
exit $ret | |
liquidsoap-test-transcoder-stereo: | |
name: liquidsoap syntax (transcoder stereo) | |
runs-on: ubuntu-latest | |
container: | |
image: savonet/liquidsoap:rolling-release-v2.3.x # TODO: Fix version after release/merge. | |
options: --user root | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: '/usr/bin/liquidsoap -c ./example/liquidsoap/myradio.liq ./scripts/transcoder/00-live.liq' | |
liquidsoap-test-transcoder-surround: | |
name: liquidsoap syntax (transcoder surround) | |
runs-on: ubuntu-latest | |
container: | |
image: savonet/liquidsoap:rolling-release-v2.3.x | |
options: --user root | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: '/usr/bin/liquidsoap -c ./example/liquidsoap/myradiosurround.liq ./scripts/transcoder/00-live.liq' | |
liquidsoap-test-streamer-stereo: | |
name: liquidsoap syntax (streamer stereo) | |
runs-on: ubuntu-latest | |
container: | |
image: savonet/liquidsoap:rolling-release-v2.3.x | |
options: --user root | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: '/usr/bin/liquidsoap -c ./example/liquidsoap/myradio.liq ./scripts/transcoder/00-live.liq' | |
liquidsoap-test-streamer-surround: | |
name: liquidsoap syntax (streamer surround) | |
runs-on: ubuntu-latest | |
container: | |
image: savonet/liquidsoap:rolling-release-v2.3.x | |
options: --user root | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: '/usr/bin/liquidsoap -c ./example/liquidsoap/mystreamersurround.liq ./scripts/streamer/00-live.liq' |