Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,16 @@ on:
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
name: linux
- os: macos-latest
name: mac
- os: windows-latest
name: windows

name: ${{ matrix.name }}
os: [ macos-latest, windows-latest, ubuntu-26.04 ]

name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -33,14 +28,21 @@ jobs:
with:
arch: x64

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2.24
with:
key: ${{ runner.os }}-ccache
max-size: 2000M
verbose: 2

- name: install linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install libasound2-dev libxinerama-dev libx11-dev libxext-dev libfreetype-dev libwebkit2gtk-4.1-dev libglu1-mesa-dev xvfb ninja-build

- name: configure
run: cmake --preset default
run: cmake . --preset ci

- name: build
run: cmake --build --preset ci
Expand Down
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
cmake_minimum_required(VERSION 3.28)
cmake_minimum_required(VERSION 4.3)
project(Eq VERSION 1.0.0)


set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)

# add_compile_options(-fsanitize=address)
# add_link_options(-fsanitize=address)
# add_link_options(-fsanitize=thread)

project(Eq VERSION 1.0.0)

add_subdirectory(JUCE)

Expand Down
10 changes: 7 additions & 3 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
"binaryDir": "${sourceDir}/__build"
},
{
"name": "linux-sandbox",
"name": "ci",
"generator": "Ninja",
"binaryDir": "${sourceDir}/__build-linux-sandbox",
"binaryDir": "${sourceDir}/__build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_OBJC_COMPILER_LAUNCHER": "ccache",
"CMAKE_OBJCXX_COMPILER_LAUNCHER": "ccache"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion JUCE
Submodule JUCE updated 2750 files
Loading