From d32bc7abedf3bb9a99ad49b4eac2f7f0c9d07793 Mon Sep 17 00:00:00 2001 From: Owen Rummage Date: Thu, 20 Aug 2026 03:02:42 +0000 Subject: [PATCH] Remove all actions --- .github/FUNDING.yml | 13 ----- .github/workflows/build-alpine.yml | 35 ------------- .github/workflows/build-arch-all.yml | 39 -------------- .github/workflows/build-arch-basic.yml | 34 ------------ .github/workflows/build-freebsd-basic.yml | 21 -------- .github/workflows/build-macos-basic.yml | 51 ------------------ .github/workflows/clang-format-check.yml | 15 ------ .github/workflows/codeql.yml | 63 ----------------------- 8 files changed, 271 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/workflows/build-alpine.yml delete mode 100644 .github/workflows/build-arch-all.yml delete mode 100644 .github/workflows/build-arch-basic.yml delete mode 100644 .github/workflows/build-freebsd-basic.yml delete mode 100644 .github/workflows/build-macos-basic.yml delete mode 100644 .github/workflows/clang-format-check.yml delete mode 100644 .github/workflows/codeql.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 648f13bc..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,13 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: epoupon -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/workflows/build-alpine.yml b/.github/workflows/build-alpine.yml deleted file mode 100644 index f381a66d..00000000 --- a/.github/workflows/build-alpine.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Multi-platform Builds (Alpine) -on: [pull_request] -jobs: - Build: - strategy: - matrix: - BUILD_TYPE: [Release, Debug] - runs-on: ubuntu-latest - steps: - - name: Check Out Repo - uses: actions/checkout@v3 - - - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Build - uses: docker/build-push-action@v3 - with: - context: ./ - file: ./Dockerfile-build-alpine - builder: ${{ steps.buildx.outputs.name }} - build-args: LMS_BUILD_TYPE=${{ matrix.BUILD_TYPE }} - push: false - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache - platforms: linux/amd64,linux/arm64,linux/arm/v6 diff --git a/.github/workflows/build-arch-all.yml b/.github/workflows/build-arch-all.yml deleted file mode 100644 index 64131db9..00000000 --- a/.github/workflows/build-arch-all.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: All-option Builds (Arch) -on: [pull_request] -jobs: - Build: - strategy: - matrix: - LMS_BUILD_TYPE: [Release, Debug] - LMS_UNITY_BUILD: [ON, OFF] - LMS_IMAGE_BACKEND: [stb, graphicsmagick] - runs-on: ubuntu-latest - steps: - - name: Check Out Repo - uses: actions/checkout@v3 - - - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Build - uses: docker/build-push-action@v3 - with: - context: ./ - file: ./Dockerfile-build-arch - builder: ${{ steps.buildx.outputs.name }} - build-args: | - LMS_BUILD_TYPE=${{ matrix.LMS_BUILD_TYPE }} - LMS_UNITY_BUILD=${{ matrix.LMS_UNITY_BUILD }} - LMS_IMAGE_BACKEND=${{ matrix.LMS_IMAGE_BACKEND }} - push: false - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache diff --git a/.github/workflows/build-arch-basic.yml b/.github/workflows/build-arch-basic.yml deleted file mode 100644 index 069b1dd8..00000000 --- a/.github/workflows/build-arch-basic.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Basic Build (Arch) -on: [push] -jobs: - Build: - runs-on: ubuntu-latest - steps: - - name: Check Out Repo - uses: actions/checkout@v3 - - - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - - - name: Build - uses: docker/build-push-action@v3 - with: - context: ./ - file: ./Dockerfile-build-arch - builder: ${{ steps.buildx.outputs.name }} - build-args: | - LMS_BUILD_TYPE=Release - LMS_UNITY_BUILD=ON - LMS_IMAGE_BACKEND=stb - push: false - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache diff --git a/.github/workflows/build-freebsd-basic.yml b/.github/workflows/build-freebsd-basic.yml deleted file mode 100644 index b55f5e8d..00000000 --- a/.github/workflows/build-freebsd-basic.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Basic Build (FreeBSD) -on: [pull_request] -jobs: - Build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build - uses: vmactions/freebsd-vm@v1.2.1 - with: - usesh: true - prepare: | - pkg install -y cmake pkgconf boost-libs ffmpeg stb libconfig taglib libarchive xxhash wt googletest onnxruntime pugixml pulseaudio - - run: | - LMSROOT=$(pwd) - mkdir build - cd build - cmake .. -DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_BENCHMARKS=OFF - make -j$(nproc) - LMS_MUSICNN_MODEL=$LMSROOT/src/libs/audio/models/MSD_musicnn_embedding.onnx make test diff --git a/.github/workflows/build-macos-basic.yml b/.github/workflows/build-macos-basic.yml deleted file mode 100644 index 63226506..00000000 --- a/.github/workflows/build-macos-basic.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Basic Build (macOS) - -on: [pull_request] - -jobs: - build-macos: - runs-on: macos-14 - env: - PKG_CONFIG_PATH: /opt/homebrew/lib/pkgconfig:/opt/homebrew/share/pkgconfig - - steps: - - uses: actions/checkout@v4 - - - name: Install dependencies - run: | - brew update - brew install pkg-config cmake boost ffmpeg libconfig taglib libarchive xxhash pugixml googletest onnxruntime openssl git - - - name: Build and install Wt - run: | - WT_VERSION=4.12.1 - git clone https://github.com/emweb/wt.git /tmp/wt - cd /tmp/wt - git checkout ${WT_VERSION} - cmake -B build -S . \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr/local \ - -DBUILD_EXAMPLES=OFF \ - -DENABLE_LIBWTTEST=OFF \ - -DCONNECTOR_FCGI=OFF - cmake --build build --parallel 2 - sudo cmake --install build - - - name: Install Stb headers - run: | - git clone https://github.com/nothings/stb.git /opt/homebrew/include/stb - - - name: Configure LMS - run: | - export PKG_CONFIG_PATH="$(brew --prefix libarchive)/lib/pkgconfig:$PKG_CONFIG_PATH" - cmake -S . -B build \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_UNITY_BUILD=ON \ - -DBUILD_TESTING=ON \ - -DSTB_IMAGE_INCLUDE_DIR=/opt/homebrew/include/stb - - - name: Build LMS - run: cmake --build build --parallel 2 - - - name: Test LMS - run: LMS_MUSICNN_MODEL=$GITHUB_WORKSPACE/src/libs/audio/models/MSD_musicnn_embedding.onnx ctest --test-dir build --output-on-failure diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml deleted file mode 100644 index 83584862..00000000 --- a/.github/workflows/clang-format-check.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: clang-format Check -on: [push, pull_request] -jobs: - formatting-check: - name: Formatting Check - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v4 - - - name: Install clang-format - run: sudo apt-get update && sudo apt-get install -y clang-format-19 - - - name: Perform checks - run: find src \( -name "*.cpp" -o -name "*.hpp" \) -print0 | xargs -r -0 clang-format-19 --dry-run --Werror \ No newline at end of file diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 9014f428..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: "CodeQL" - -on: - pull_request: - branches: [ "master", "develop" ] - schedule: - - cron: "48 10 1 * *" - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ javascript, cpp ] - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - if: matrix.language == 'cpp' - name: Install dependencies (cpp) - run: | - sudo apt-get update - sudo apt-get install --yes build-essential cmake libarchive-dev libavcodec-dev libavformat-dev libavutil-dev libboost-all-dev libconfig++-dev libgtest-dev libpam0g-dev libpugixml-dev libstb-dev libtag1-dev libxxhash-dev - export WT_VERSION=4.11.3 - export WT_INSTALL_PREFIX=/usr - git clone https://github.com/emweb/wt.git /tmp/wt - pushd /tmp/wt - git checkout ${WT_VERSION} - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${WT_INSTALL_PREFIX} -DBUILD_EXAMPLES=OFF -DENABLE_LIBWTTEST=OFF -DCONNECTOR_FCGI=OFF - make -j$(nproc) - sudo make install - popd - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - queries: +security-and-quality - - - if: matrix.language == 'javascript' - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - - if: matrix.language == 'cpp' - name: Build - run: | - mkdir -p build - cd build - cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON .. - make -j$(nproc) - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{ matrix.language }}"