3 on: [push, pull_request]
6 DEBIAN_FRONTEND: noninteractive
7 EMSCRIPTEN_VERSION: 3.1.27
8 HOMEBREW_NO_AUTO_UPDATE: 1
9 HOMEBREW_NO_INSTALL_CLEANUP: 1
18 - target: ubuntu:20.04
19 - target: ubuntu:22.04
20 - target: ubuntu:24.04
21 runs-on: ubuntu-latest
23 image: ${{ matrix.target }}
25 - uses: actions/checkout@v3
26 - name: Set up dependencies
28 dpkg --add-architecture i386
30 apt-get install -yqq g++-multilib libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libsdl2-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev make pkg-config pyqt5-dev-tools qtbase5-dev
31 apt-get install -yqq libx11-6:i386 libxext6:i386
32 # Fix 32bit bridge build
33 ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
34 ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
40 run: make posix32 -j $(nproc)
48 runs-on: ${{ matrix.target }}
50 - uses: actions/checkout@v4
53 - name: Set up dependencies
55 brew install fluid-synth liblo libmagic libsndfile pkg-config pyqt@5 qt@5 sdl2
59 run: make -j $(sysctl -n hw.logicalcpu)
64 - uses: actions/checkout@v4
69 uses: actions/cache@v4
74 - name: Set up dependencies
76 [ -d ~/emsdk ] || git clone https://github.com/emscripten-core/emsdk.git ~/emsdk
77 cd ~/emsdk && ./emsdk install ${{ env.EMSCRIPTEN_VERSION }} && ./emsdk activate ${{ env.EMSCRIPTEN_VERSION }}
88 source ~/emsdk/emsdk_env.sh