diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml deleted file mode 100644 index 343f2f9691..0000000000 --- a/.github/workflows/appimage.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: AppImage -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - appimage: - name: AppImage - strategy: - matrix: - include: - - { image: ubuntu-24.04, cpu_arch: x86_64 } - - { image: ubuntu-24.04-arm, cpu_arch: aarch64 } - - runs-on: ${{ matrix.image }} - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - run: | - export CPU_ARCH=${{ matrix.cpu_arch }} - ./ci/appimage.deps.sh - - - name: Build - run: | - export CPU_ARCH=${{ matrix.cpu_arch }} - ./ci/appimage.build.sh - - - name: Deploy - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY="$PWD/staging" - export CPU_ARCH=${{ matrix.cpu_arch }} - mkdir -p "$BUILD_ARTIFACTSTAGINGDIRECTORY" - ./ci/appimage.deploy.sh - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: appimage-${{ matrix.cpu_arch }} - path: | - staging/*.* - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml deleted file mode 100644 index e5014feb30..0000000000 --- a/.github/workflows/bsd.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: BSDs -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build_bsd: - name: FreeBSD - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: vmactions/freebsd-vm@v1 - with: - release: "15.0" - usesh: true - sync: nfs - copyback: false - prepare: | - echo "=============== FreeBSD Start update =====================" - pkg update -f -q - echo "=============== FreeBSD Start upgrade =====================" - pkg upgrade -y - echo "=============== FreeBSD Start install =====================" - pkg install -y \ - bash \ - boost-libs \ - cmake git \ - llvm19 \ - ninja \ - qt6-base qt6-declarative qt6-shadertools qt6-websockets qt6-serialport qt6-scxml qt6-imageformats qt6-connectivity \ - ffmpeg \ - lilv suil lv2 \ - libcoap \ - portaudio \ - pd \ - libfmt spdlog \ - rubberband libsamplerate libsndfile \ - libcoap \ - freetype2 harfbuzz fontconfig \ - alsa-lib jackit - echo "=============== FreeBSD End install =====================" - - run: | - echo "=============== FreeBSD Start Deps =====================" - ./ci/common.deps.sh && echo "=============== FreeBSD Deps Success =====================" - echo "=============== FreeBSD Start Build =====================" - ./ci/freebsd.build.sh && echo "=============== FreeBSD Build Success =====================" - echo "=============== FreeBSD End Build =====================" diff --git a/.github/workflows/custom.yml b/.github/workflows/custom.yml deleted file mode 100644 index a5af98f65a..0000000000 --- a/.github/workflows/custom.yml +++ /dev/null @@ -1,138 +0,0 @@ -name: Custom build -on: - workflow_dispatch: - inputs: - cmake_options: - description: 'Additional CMake options' - required: true - type: string - cmake_cache: - description: 'Custom CMake cache file' - required: false - type: string - -jobs: - appimage: - name: AppImage - strategy: - matrix: - include: - - { image: ubuntu-24.04, cpu_arch: x86_64 } - - { image: ubuntu-24.04-arm, cpu_arch: aarch64 } - - runs-on: ${{ matrix.image }} - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - run: | - export CPU_ARCH=${{ matrix.cpu_arch }} - ./ci/appimage.deps.sh - - - name: Build - run: | - export CPU_ARCH=${{ matrix.cpu_arch }} - ./ci/appimage.build.sh - env: - SCORE_EXTRA_CMAKE_ARGS: ${{ inputs.cmake_options }} - SCORE_CMAKE_CACHE: ${{ inputs.cmake_cache }} - - - name: Deploy - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY="$PWD/staging" - export CPU_ARCH=${{ matrix.cpu_arch }} - mkdir -p "$BUILD_ARTIFACTSTAGINGDIRECTORY" - ./ci/appimage.deploy.sh - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: appimage-${{ matrix.cpu_arch }} - path: | - staging/*.* - - win32: - name: Windows - runs-on: windows-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - shell: bash - run: ./ci/win32.deps.sh - - - name: Build - shell: bash - run: ./ci/win32.build.sh - env: - SCORE_EXTRA_CMAKE_ARGS: ${{ inputs.cmake_options }} - SCORE_CMAKE_CACHE: ${{ inputs.cmake_cache }} - - name: Deploy - shell: bash - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY="$PWD/staging" - mkdir -p "$BUILD_ARTIFACTSTAGINGDIRECTORY" - ./ci/win32.deploy.sh - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: windows - path: | - staging/*.* - - m1-package: - name: macOS (AppleSilicon Release) - runs-on: macos-15 - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '>=16' - - - run: | - source ci/osx.package.deps.sh - env: - MACOS_ARCH: "aarch64" - MAC_CERT_B64: ${{ secrets.MAC_CERT_B64 }} - MAC_CODESIGN_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }} - - - uses: jcelerier/import-codesign-certs@master - with: - p12-file-base64: ${{ secrets.MAC_CERT_B64 }} - p12-password: ${{ secrets.MAC_CERT_PASSWORD }} - - - run: | - source ci/osx.package.build.sh - env: - MACOS_ARCH: "aarch64" - SCORE_EXTRA_CMAKE_ARGS: ${{ inputs.cmake_options }} - SCORE_CMAKE_CACHE: ${{ inputs.cmake_cache }} - - - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY=$PWD/staging - mkdir -p $BUILD_ARTIFACTSTAGINGDIRECTORY - source ci/osx.package.deploy.sh - env: - MACOS_ARCH: "aarch64" - MAC_ALTOOL_PASSWORD: ${{ secrets.MAC_ALTOOL_PASSWORD }} - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: macos-aarch64 - path: | - staging/*.* diff --git a/.github/workflows/debian-builds.yaml b/.github/workflows/debian-builds.yaml deleted file mode 100644 index 05a2b78c26..0000000000 --- a/.github/workflows/debian-builds.yaml +++ /dev/null @@ -1,54 +0,0 @@ -name: Debian build -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - debian: - name: Debian - runs-on: ubuntu-latest - container: - image: debian:${{ matrix.image }} - - strategy: - fail-fast: false - matrix: - include: - - { distro: debian.bookworm , image: bookworm, CC: clang-19, CXX: clang++-19, PACKAGES: "clang-19" } - - { distro: debian.bookworm , image: bookworm, CC: /opt/gcc-14/bin/gcc, CXX: /opt/gcc-14/bin/g++, PACKAGES: "build-essential" } - - { distro: debian.trixie , image: trixie, CC: gcc, CXX: g++, PACKAGES: "build-essential gcc-14 g++-14 llvm-19-dev libclang-19-dev " } - - { distro: debian.trixie-system, image: trixie, CC: gcc, CXX: g++, PACKAGES: "build-essential gcc-14 g++-14 llvm-19-dev libclang-19-dev " } - - { distro: debian.trixie , image: trixie, CC: clang-19, CXX: clang++-19, PACKAGES: "build-essential clang-19 llvm-19-dev libclang-19-dev lld-19 " } - steps: - - name: Install git - run: | - apt-get update -qq - apt-get install -qq --force-yes git - - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - env: - CC: ${{ matrix.CC }} - CXX: ${{ matrix.CXX }} - PACKAGES: ${{ matrix.packages }} - run: | - ./ci/${{ matrix.distro }}.deps.sh - - - name: Build - env: - CC: ${{ matrix.CC }} - CXX: ${{ matrix.CXX }} - run: | - ./ci/${{ matrix.distro }}.build.sh diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml deleted file mode 100644 index 3573438ac4..0000000000 --- a/.github/workflows/docs.yaml +++ /dev/null @@ -1,64 +0,0 @@ -name: Documentation build -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -on: - push: - branches: - - master - tags: - - v* - -jobs: - docs: - name: Generate doxygen documentation - runs-on: ubuntu-latest - - steps: - - name: Install git - run: | - sudo apt-get update -qq - sudo apt-get remove -qq --force-yes clang* llvm* libllvm* libclang-*-dev - sudo apt-get install -qq --force-yes git doxygen binutils build-essential cmake - - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - run: | - ./ci/ubuntu.noble.deps.sh - - - name: Configure - run: | - mkdir configure - mkdir docs/Doxygen/headers - cd configure - cmake .. \ - -DCMAKE_BUILD_TYPE=Debug \ - -DCMAKE_EXPORT_COMPILE_COMMANDS=1 \ - -DCMAKE_C_COMPILER=/usr/bin/clang-19 \ - -DCMAKE_CXX_COMPILER=/usr/bin/clang++-19 - - find . -name '*.h' -exec mv {} ../docs/Doxygen/headers/ \; - find . -name '*.hpp' -exec mv {} ../docs/Doxygen/headers/ \; - - - name: Build docs - run: | - (cd docs/Doxygen ; doxygen > doxygen.log) - pwd - ls - mkdir build - ls docs/Doxygen - mv docs/Doxygen/output/html/* build/ - touch build/.nojekyll - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.1 - with: - repository-name: ossia/score-api-docs - token: ${{ secrets.API_TOKEN_GITHUB }} - branch: gh-pages - folder: build diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml deleted file mode 100644 index ccfd6dfaf2..0000000000 --- a/.github/workflows/flatpak.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Flatpak -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - flatpak: - name: "Flatpak" - runs-on: ${{ matrix.image }} - strategy: - matrix: - include: - - { image: ubuntu-24.04, arch: x86_64 } - - { image: ubuntu-24.04-arm, arch: aarch64 } - fail-fast: false - - container: - image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.9 - options: --privileged - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 - with: - bundle: io.ossia.score.${{ matrix.arch }}.flatpak - manifest-path: ./cmake/Deployment/Linux/Flatpak/io.ossia.score.yml - cache-key: flatpak-builder-${{ github.sha }} - arch: ${{ matrix.arch }} - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - *.flatpak - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - *.flatpak diff --git a/.github/workflows/mac-builds.yaml b/.github/workflows/mac-builds.yaml deleted file mode 100644 index ee1b27f438..0000000000 --- a/.github/workflows/mac-builds.yaml +++ /dev/null @@ -1,216 +0,0 @@ -name: macOS build -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - macintel: - name: macOS (Intel) - runs-on: macos-15 - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: latest-stable - - - name: Dependencies - run: ./ci/osx.package.deps.sh - env: - MACOS_ARCH: "x86_64" - MAC_CERT_B64: ${{ secrets.MAC_CERT_B64 }} - MAC_CODESIGN_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }} - - - uses: jcelerier/import-codesign-certs@master - with: - p12-file-base64: ${{ secrets.MAC_CERT_B64 }} - p12-password: ${{ secrets.MAC_CERT_PASSWORD }} - - - name: Build - run: ./ci/osx.package.build.sh - env: - MACOS_ARCH: "x86_64" - - - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY=$PWD/staging - mkdir -p $BUILD_ARTIFACTSTAGINGDIRECTORY - source ci/osx.package.deploy.sh - env: - MACOS_ARCH: "x86_64" - MAC_ALTOOL_PASSWORD: ${{ secrets.MAC_ALTOOL_PASSWORD }} - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: macos-intel - path: | - staging/*.* - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* - - brew: - # Last X86 macos version supported by GH Actions - name: macOS (Release, Brew, Intel) - runs-on: macos-15 - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: latest-stable - - - name: Dependencies - run: | - ./ci/osx.brew.deps.sh - - - name: Build - run: | - ./ci/osx.brew.build.sh - - brew-m1: - name: macOS (Release, Brew, AppleSilicon) - runs-on: macos-15 - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '>=16' - - - name: Dependencies - run: | - ./ci/osx.brew.deps.sh - - - name: Build - run: | - ./ci/osx.brew.build.sh - - brew-m1-dev: - name: macOS (Dev, Brew, AppleSilicon) - runs-on: macos-15 - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '>=16' - - - name: Dependencies - run: | - ./ci/osx.brew.deps.sh - - - name: Build - run: | - ./ci/developer.build.sh -S "$PWD" -B build-developer - - m1-package: - name: macOS (AppleSilicon Release) - runs-on: macos-15 - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '>=16' - - - run: | - source ci/osx.package.deps.sh - env: - MACOS_ARCH: "aarch64" - MAC_CERT_B64: ${{ secrets.MAC_CERT_B64 }} - MAC_CODESIGN_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }} - - - uses: jcelerier/import-codesign-certs@master - with: - p12-file-base64: ${{ secrets.MAC_CERT_B64 }} - p12-password: ${{ secrets.MAC_CERT_PASSWORD }} - - - run: | - source ci/osx.package.build.sh - env: - MACOS_ARCH: "aarch64" - - - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY=$PWD/staging - mkdir -p $BUILD_ARTIFACTSTAGINGDIRECTORY - source ci/osx.package.deploy.sh - env: - MACOS_ARCH: "aarch64" - MAC_ALTOOL_PASSWORD: ${{ secrets.MAC_ALTOOL_PASSWORD }} - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: macos-aarch64 - path: | - staging/*.* - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* diff --git a/.github/workflows/nix-builds.yaml b/.github/workflows/nix-builds.yaml deleted file mode 100644 index b76dea04cb..0000000000 --- a/.github/workflows/nix-builds.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: Nix build -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - nix: - name: Nix - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Install nix - uses: cachix/install-nix-action@v24 - - - name: Build - run: | - nix-channel --add https://nixos.org/channels/nixpkgs-unstable - nix-channel --update - nix-build -E 'with import {}; qt6.callPackage ./ci/nix.build.nix {}' diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml deleted file mode 100644 index 1e2d56dce0..0000000000 --- a/.github/workflows/tarball.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: Tarball -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - tarball: - name: Tarball - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Continuous tag - uses: rickstaa/action-create-tag@v1 - if: github.ref == 'refs/heads/master' - with: - tag: "continuous" - tag_exists_error: false - message: "Continuous build" - force_push_tag: true - - - name: Build - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - ./ci/tarball.build.sh - env: - GPG_SIGN_PUBKEY: ${{ secrets.GPG_SIGN_PUBKEY }} - GPG_SIGN_PRIVKEY: ${{ secrets.GPG_SIGN_PRIVKEY }} - - - name: Deploy - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY="$PWD/staging" - mkdir -p "$BUILD_ARTIFACTSTAGINGDIRECTORY" - ./ci/tarball.deploy.sh - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: tarball - path: | - staging/*.* - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: true - files: | - staging/*.* - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: true - files: | - staging/*.* diff --git a/.github/workflows/templates.yaml b/.github/workflows/templates.yaml deleted file mode 100644 index 0d775f15dd..0000000000 --- a/.github/workflows/templates.yaml +++ /dev/null @@ -1,158 +0,0 @@ -name: Template check -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - init_template: - name: Template generation - runs-on: ubuntu-latest - strategy: - matrix: - template: - - score-avnd-simple-template - - score-vfx-template - - score-process-template - - score-device-template - - score-offline-process-template - - steps: - - name: Install git - run: | - sudo apt-get update -qq - sudo apt-get install -qq --force-yes git rename perl - - - name: Checkout template - uses: actions/checkout@v4 - with: - repository: ossia-templates/${{ matrix.template }} - submodules: "recursive" - path: ${{ matrix.template }} - - - name: Init template - run: | - cd ${{ matrix.template }} - ./init.sh Build - ./release.sh - - - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.template }} - path: "**/score-addon-build.zip" - - check: - name: ${{ matrix.template }} (${{ matrix.config.name }}) - runs-on: ${{ matrix.config.os }} - needs: init_template - strategy: - fail-fast: false - matrix: - config: - - { - name: "Windows", - os: windows-latest, - path: "/c/ossia-sdk-x86_64/llvm/bin", - common_flags: "-GNinja -DCMAKE_C_COMPILER=c:/ossia-sdk-x86_64/llvm/bin/clang.exe -DCMAKE_CXX_COMPILER=c:/ossia-sdk-x86_64/llvm/bin/clang++.exe -DCMAKE_UNITY_BUILD=1", - dependencies: "choco install -y ninja", - sdk: "/c/ossia-sdk-x86_64", - } - - { - name: "Ubuntu", - os: ubuntu-latest, - path: "/opt/ossia-sdk-x86_64/llvm/bin", - common_flags: "-DCMAKE_C_COMPILER=/opt/ossia-sdk-x86_64/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/ossia-sdk-x86_64/llvm/bin/clang++ -DCMAKE_UNITY_BUILD=1", - dependencies: "sudo apt-get -yq update; sudo apt-get -yq install libgl-dev libegl-dev libdrm-dev libgbm-dev libxcomposite-dev libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev libxcb-*-dev libX11-*-dev libz-dev libtinfo-dev libxext-dev", - sdk: "/opt/ossia-sdk-x86_64", - } - - { - name: "macOS (AArch64)", - os: macos-15, - common_flags: "-DCMAKE_UNITY_BUILD=1", - sdk: "/opt/ossia-sdk-aarch64", - } - - template: - - score-vfx-template - - score-process-template - - score-device-template - - score-avnd-simple-template - - score-offline-process-template - - steps: - - uses: maxim-lobanov/setup-xcode@v1 - if: ${{ matrix.config.os == 'macos-15' }} - with: - xcode-version: '>=16.4' - - - name: Checkout score - uses: actions/checkout@v4 - with: - submodules: "recursive" - path: score - fetch-depth: 0 # Needed for getting tags - - - uses: actions/download-artifact@v4 - with: - name: ${{ matrix.template }} - path: . - - - name: Install dependencies - shell: bash - run: | - export DEBIAN_FRONTEND=noninteractive - ${{ matrix.config.dependencies }} - - - name: Download SDK - shell: bash - run: | - cd score - tools/fetch-sdk.sh - - - name: Extract artifact - shell: bash - run: | - find ${{ matrix.template }} -name '*.zip' -exec cmake -E tar xz {} \; - ls - find score-addon-build - ls score-addon-build - - - name: Build debug - shell: bash - run: | - if [[ "${{ matrix.config.path }}" != "" ]]; then - export PATH=${{ matrix.config.path }}:$PATH - fi - - cmake -S score-addon-build -B build-debug \ - -DCMAKE_BUILD_TYPE=Debug \ - -DSCORE_SOURCE_DIR=$PWD/score \ - -DCMAKE_MODULE_PATH=$PWD/score/cmake \ - -DOSSIA_SDK=${{ matrix.config.sdk }} \ - ${{ matrix.config.common_flags }} - - cmake --build build-debug - - - name: Build release - shell: bash - run: | - if [[ "${{ matrix.config.path }}" != "" ]]; then - export PATH=${{ matrix.config.path }}:$PATH - fi - - cmake -S score-addon-build -B build-release \ - -DCMAKE_BUILD_TYPE=Release \ - -DSCORE_SOURCE_DIR=$PWD/score \ - -DCMAKE_MODULE_PATH=$PWD/score/cmake \ - -DOSSIA_SDK=${{ matrix.config.sdk }} \ - ${{ matrix.config.common_flags }} - - cmake --build build-release - diff --git a/.github/workflows/ubuntu-builds.yaml b/.github/workflows/ubuntu-builds.yaml deleted file mode 100644 index fdfdaf5333..0000000000 --- a/.github/workflows/ubuntu-builds.yaml +++ /dev/null @@ -1,90 +0,0 @@ -name: Ubuntu build -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - ubuntu: - name: Ubuntu - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - include: - - { deploy: false, distro: ubuntu.jammy, image: jammy, CMAKEFLAGS: "-DSCORE_PCH=1", CC: /opt/gcc-14/bin/gcc, CXX: /opt/gcc-14/bin/g++, CFLAGS: "-O0", LDFLAGS: "" } - - { deploy: true, distro: ubuntu.jammy, image: jammy, CMAKEFLAGS: "-DCMAKE_UNITY_BUILD=1", CC: clang-20, CXX: clang++-20, CFLAGS: "-O3", LDFLAGS: "-fuse-ld=lld-20" } - - { deploy: false, distro: ubuntu.noble, image: noble, CMAKEFLAGS: "-DSCORE_PCH=1", CC: gcc-14, CXX: g++-14, CFLAGS: "-O0", LDFLAGS: "-fuse-ld=lld" } - - { deploy: true, distro: ubuntu.noble, image: noble, CMAKEFLAGS: "-DCMAKE_UNITY_BUILD=1", CC: clang-19, CXX: clang++-19, CFLAGS: "-O3", LDFLAGS: "-fuse-ld=lld-19" } - - { deploy: false, distro: ubuntu.plucky, image: plucky, CMAKEFLAGS: "-DSCORE_PCH=1", CC: gcc, CXX: g++, CFLAGS: "-O0", LDFLAGS: "" } - - { deploy: true, distro: ubuntu.plucky, image: plucky, CMAKEFLAGS: "-DCMAKE_UNITY_BUILD=1", CC: clang-20, CXX: clang++-20, CFLAGS: "-O3", LDFLAGS: "-fuse-ld=lld-20" } - - container: - image: ubuntu:${{ matrix.image }} - - steps: - - name: Install git - run: | - apt-get update -qq - apt-get install -qq --force-yes git - - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - run: | - ./ci/${{ matrix.distro }}.deps.sh - - - name: Build - env: - CMAKEFLAGS: ${{ matrix.CMAKEFLAGS }} - CC: ${{ matrix.CC }} - CXX: ${{ matrix.CXX }} - CFLAGS: ${{ matrix.CFLAGS }} - LDFLAGS: ${{ matrix.LDFLAGS }} - run: | - ./ci/${{ matrix.distro }}.build.sh - - - name: Deploy - run: | - ./ci/${{ matrix.distro }}.deploy.sh - - - name: Upload build - uses: actions/upload-artifact@v4 - if: matrix.deploy - with: - name: ${{ matrix.distro }}-amd64 - path: | - *.deb - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - *.deb - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - *.deb diff --git a/.github/workflows/wasm.yaml b/.github/workflows/wasm.yaml deleted file mode 100644 index 9720c925ae..0000000000 --- a/.github/workflows/wasm.yaml +++ /dev/null @@ -1,55 +0,0 @@ -name: WASM -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - wasm: - name: WebAssembly - runs-on: ubuntu-latest - container: - image: archlinux:latest - - steps: - - name: Install git - run: | - pacman -Syy --noconfirm - pacman -S glibc --noconfirm - pacman -S git --noconfirm - - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - persist-credentials: false - fetch-depth: 0 - - - name: Dependencies - run: | - ./ci/wasm.deps.sh - - - name: Build - run: | - ./ci/wasm.build.sh - - - name: Deploy - run: | - ./ci/wasm.deploy.sh - - - name: Push changes - uses: ad-m/github-push-action@master - if: github.event_name != 'pull_request' - with: - github_token: ${{ secrets.API_TOKEN_GITHUB }} - branch: 'main' - force: true - directory: './site' - repository: 'ossia/score-web' diff --git a/.github/workflows/win-builds.yaml b/.github/workflows/win-builds.yaml deleted file mode 100644 index d1d7778352..0000000000 --- a/.github/workflows/win-builds.yaml +++ /dev/null @@ -1,234 +0,0 @@ -name: Windows build -on: - pull_request: - push: - branches: - - master - tags: - - v* - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - win32: - name: Windows - runs-on: windows-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Prepare Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.1 - with: - vulkan-query-version: latest - vulkan-components: Vulkan-Headers, Vulkan-Loader - vulkan-use-cache: true - - - name: Dependencies - shell: bash - run: ./ci/win32.deps.sh - - - name: Build - shell: bash - run: ./ci/win32.build.sh - - - name: Deploy - shell: bash - run: | - export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") - export BUILD_ARTIFACTSTAGINGDIRECTORY="$PWD/staging" - mkdir -p "$BUILD_ARTIFACTSTAGINGDIRECTORY" - ./ci/win32.deploy.sh - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: windows - path: | - staging/*.* - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - staging/*.* - - winstore: - name: Windows (store) - runs-on: windows-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Prepare Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.1 - with: - vulkan-query-version: latest - vulkan-components: Vulkan-Headers, Vulkan-Loader - vulkan-use-cache: true - - - name: Dependencies - shell: bash - run: | - ./ci/win32.deps.sh - - - name: Build - shell: cmd - run: | - call "%cd%\ci\win32.store.build.cmd" - - - name: Create certificate - if: github.event_name != 'pull_request' - shell: pwsh - env: - OSSIA_WIN32_CERT_SUBJECT: ${{ secrets.OSSIA_WIN32_CERT_SUBJECT }} - OSSIA_WIN32_CERT_PASSWORD: ${{ secrets.OSSIA_WIN32_CERT_PASSWORD }} - run: | - .\ci\win32.store.cert.ps1 - - - name: Set up Visual Studio shell - uses: egor-tensin/vs-shell@v2 - with: - arch: x64 - - - name: Deploy - if: github.event_name != 'pull_request' - shell: cmd - env: - OSSIA_WIN32_CERT_SUBJECT: ${{ secrets.OSSIA_WIN32_CERT_SUBJECT }} - OSSIA_WIN32_CERT_PASSWORD: ${{ secrets.OSSIA_WIN32_CERT_PASSWORD }} - run: | - call "%cd%\ci\win32.store.deploy.cmd" - - - name: Upload build - uses: actions/upload-artifact@v4 - if: github.event_name != 'pull_request' - with: - name: windows-store - path: | - output/*.appxbundle - - - name: Continuous - uses: softprops/action-gh-release@v2 - if: github.ref == 'refs/heads/master' - with: - name: "Continuous" - tag_name: "continuous" - body: "" - append_body: true - generate_release_notes: false - files: | - output/*.appxbundle - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "" - append_body: true - generate_release_notes: false - files: | - output/*.appxbundle - - mingw: - runs-on: windows-latest - strategy: - matrix: - include: - - { sys: mingw64, env: x86_64 } - - { sys: ucrt64, env: ucrt-x86_64 } - - { sys: clang64, env: clang-x86_64 } - steps: - - name: Check out repository code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Dependencies - shell: bash - run: | - ./ci/win32.mingw.deps.sh - - - name: Setup msys2 and mingw-w64 - uses: msys2/setup-msys2@v2 - with: - msystem: ${{matrix.sys}} - update: true - pacboy: >- - cmake:p - ninja:p - toolchain:p - cppwinrt:p - qt6-base:p - qt6-declarative:p - qt6-websockets:p - qt6-serialport:p - qt6-shadertools:p - qt6-scxml:p - qt6-tools:p - qt6-quick3d:p - qt6-svg:p - qt6-connectivity:p - boost:p - portaudio:p - fftw:p - ffmpeg:p - SDL2:p - - - name: Build - shell: msys2 {0} - run: | - ./ci/win32.mingw.build.sh - - winmvsc: - name: MSVC - runs-on: windows-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Install Qt - uses: jurplel/install-qt-action@v4.3.0 - with: - version: 6.10.* - modules: qtwebsockets qtserialport qtscxml qtshadertools qtquick3d qtconnectivity - - - name: Set up Visual Studio shell - uses: egor-tensin/vs-shell@v2 - with: - arch: x64 - - - name: Dependencies - shell: bash - run: | - ./ci/win32.msvc.deps.sh - - - name: Build - shell: cmd - run: | - call "%cd%\ci\win32.msvc.build.cmd" - diff --git a/src/plugins/score-plugin-avnd/CMakeLists.txt b/src/plugins/score-plugin-avnd/CMakeLists.txt index 73b6c29c53..f4e5584698 100644 --- a/src/plugins/score-plugin-avnd/CMakeLists.txt +++ b/src/plugins/score-plugin-avnd/CMakeLists.txt @@ -652,19 +652,21 @@ avnd_make_score( NAMESPACE avnd_tools ) -if(NOT SCORE_GCC_MEMORY_EXPLOSION) +if(1) avnd_make_score( SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/AvndProcesses/Table.hpp" TARGET table MAIN_CLASS Table NAMESPACE avnd_tools ) +endif() avnd_make_score( SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/AvndProcesses/Table1D.hpp" TARGET avnd_table_1d MAIN_CLASS Table1D NAMESPACE avnd_tools ) +if(0) avnd_make_score( SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/AvndProcesses/Table2D.hpp" TARGET avnd_table_2d @@ -672,7 +674,6 @@ avnd_make_score( NAMESPACE avnd_tools ) endif() - avnd_make_score( SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/AvndProcesses/Spammer.hpp" TARGET pattern_spammer