-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.07 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on: [push, pull_request]
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Pulsar on Linux
uses: pulsar-edit/action-pulsar-dependency@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install Pulsar on macOS
run: brew install pulsar
if: ${{ matrix.os == 'macos-latest' }}
- name: Install LilyPond on Linux
run: |
wget --no-verbose https://gitlab.com/lilypond/lilypond/-/releases/v2.24.4/downloads/lilypond-2.24.4-linux-x86_64.tar.gz
tar -xf lilypond-2.24.4-linux-x86_64.tar.gz
echo "$(pwd)/lilypond-2.24.4/bin" >> $GITHUB_PATH
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install LilyPond on macOS
run: brew install lilypond
if: ${{ matrix.os == 'macos-latest' }}
- name: Install package dependencies
run: ppm install
- name: Run tests
uses: coactions/setup-xvfb@v1
with:
run: pulsar --test spec