Skip to content

Fix compilation issue from #51 #102

Fix compilation issue from #51

Fix compilation issue from #51 #102

Workflow file for this run

name: Build
on: push
jobs:
windows_build:
name: Windows Build
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
run: |
mkdir build
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release --target package
- name: 'Upload Windows Installer'
uses: actions/upload-artifact@v4
with:
name: 'Windows Installer'
path: build/_CPack_Packages/win64/NSIS/*.exe
mac_build:
name: MacOS Build
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
run: |
mkdir build
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release --target package
- name: 'Upload OSX Installer'
uses: actions/upload-artifact@v4
with:
name: 'OSX dmg package'
path: build/_CPack_Packages/OSX/DragNDrop/*.dmg
ubuntu_20_04_build:
name: Ubuntu 20.04 Build
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
run: |
mkdir build
sudo apt update
sudo apt install libasound2-dev libjack-jackd2-dev ladspa-sdk libcurl4-openssl-dev libfreetype6-dev libx11-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libwebkit2gtk-4.0-dev libglu1-mesa-dev mesa-common-dev
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release
cd build
cpack -G DEB
- name: 'Upload Ubuntu 20.04 deb package'
uses: actions/upload-artifact@v4
with:
name: 'Ubuntu 20.04 deb package'
path: build/_CPack_Packages/Linux/DEB/*.deb
ubuntu_22_04_build:
name: Ubuntu 22.04 Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Compile
run: |
mkdir build
sudo apt update
sudo apt install libasound2-dev libjack-jackd2-dev ladspa-sdk libcurl4-openssl-dev libfreetype6-dev libx11-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libwebkit2gtk-4.0-dev libglu1-mesa-dev mesa-common-dev
cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Wno-dev
cmake --build build --config Release
cd build
cpack -G DEB
- name: 'Upload Ubuntu 22.04 deb package'
uses: actions/upload-artifact@v4
with:
name: 'Ubuntu 22.04 deb package'
path: build/_CPack_Packages/Linux/DEB/*.deb