You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: build
-
- on:
- push:
- branches:
- - '*'
- pull_request:
- branches:
- - '*'
- env:
- DEBIAN_FRONTEND: noninteractive
- HOMEBREW_NO_AUTO_UPDATE: 1
- WITH_LTO: false
-
- jobs:
- macos-11:
- runs-on: macos-11
- steps:
- - uses: actions/checkout@v3
- - name: Set up dependencies
- run: |
- brew install fluid-synth liblo libmagic libsndfile pkg-config pyqt@5 qt@5 sdl2
- - name: make features
- run: make features
- - name: make
- run: make -j $(sysctl -n hw.logicalcpu)
-
- ubuntu-20_04:
- runs-on: ubuntu-20.04
- steps:
- - uses: actions/checkout@v3
- - name: Fix GitHub's mess
- run: |
- sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
- sudo apt-get update -qq
- sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
- - name: Set up dependencies
- run: |
- sudo dpkg --add-architecture i386
- sudo apt-get update -qq
- sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
- sudo apt-get install -yq g++-multilib libfreetype6:i386 libfontconfig1:i386 libx11-6:i386 libxext6:i386
- # Fix 32bit bridge build
- sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
- sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
- sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
- sudo ln -s /usr/lib/i386-linux-gnu/libfontconfig.so.1 /usr/lib/i386-linux-gnu/libfontconfig.so
- - name: make features
- run: make features
- - name: make
- run: make -j $(nproc)
- - name: make posix32
- run: make posix32 -j $(nproc)
|