diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml deleted file mode 100644 index bb29b28d..00000000 --- a/.github/workflows/cmake.yml +++ /dev/null @@ -1,145 +0,0 @@ -name: cmake - -on: - push: - branches: - - '*' - pull_request: - branches: - - '*' - -env: - BUILD_TYPE: Release - -jobs: - ubuntu-20-04: - strategy: - matrix: - target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64, win32, win64, pluginval] - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-cmake-action@v1 - with: - target: ${{ matrix.target }} - dpf_path: . - - ubuntu-22-04: - strategy: - matrix: - target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64, win32, win64, pluginval] - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-cmake-action@v1 - with: - target: ${{ matrix.target }} - dpf_path: . - - macos-11: - strategy: - matrix: - target: [macos-intel, macos-universal, macos-10.15] - runs-on: macos-11 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-cmake-action@v1 - with: - target: ${{ matrix.target }} - dpf_path: . - - macos-12: - strategy: - matrix: - target: [macos-intel, macos-universal, macos-10.15] - runs-on: macos-12 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-cmake-action@v1 - with: - target: ${{ matrix.target }} - dpf_path: . - - cmake_win32: - runs-on: windows-2019 - steps: - - name: Set environment - run: | - echo "release_arch=Win32" >> "${Env:GITHUB_ENV}" - echo "vcpkg_triplet=x86-windows-static" >> "${Env:GITHUB_ENV}" - echo "vcpkg_git_commit_id=a3db16a4475b963cacf0260068c497fb72c8f3c0" >> "${Env:GITHUB_ENV}" - - name: Restore from cache and install vcpkg - uses: lukka/run-vcpkg@v6 - with: - setupOnly: true - vcpkgTriplet: ${{env.vcpkg_triplet}} - vcpkgGitCommitId: ${{env.vcpkg_git_commit_id}} - #- name: Install packages - # run: | - # & "${Env:VCPKG_ROOT}/vcpkg" install "cairo:${Env:vcpkg_triplet}" - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Create Build Environment - working-directory: ${{runner.workspace}} - run: cmake -E make_directory build - - name: Configure CMake - working-directory: ${{runner.workspace}}/build - run: | - cmake "${Env:GITHUB_WORKSPACE}" -G"Visual Studio 16 2019" -A"${Env:release_arch}" -DCMAKE_BUILD_TYPE="${Env:BUILD_TYPE}" -DVCPKG_TARGET_TRIPLET="${Env:vcpkg_triplet}" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" - - name: Build all - working-directory: ${{runner.workspace}}/build - run: cmake --build . --config "${Env:BUILD_TYPE}" -j 2 - - name: Show built files - working-directory: ${{runner.workspace}}/build/bin - run: tree - - uses: actions/upload-artifact@v2 - with: - name: Win32 artifacts - path: ${{runner.workspace}}/build/bin/ - - cmake_win64: - runs-on: windows-2019 - steps: - - name: Set environment - run: | - echo "release_arch=x64" >> "${Env:GITHUB_ENV}" - echo "vcpkg_triplet=x64-windows-static" >> "${Env:GITHUB_ENV}" - echo "vcpkg_git_commit_id=a3db16a4475b963cacf0260068c497fb72c8f3c0" >> "${Env:GITHUB_ENV}" - - name: Restore from cache and install vcpkg - uses: lukka/run-vcpkg@v6 - with: - setupOnly: true - vcpkgTriplet: ${{env.vcpkg_triplet}} - vcpkgGitCommitId: ${{env.vcpkg_git_commit_id}} - #- name: Install packages - # run: | - # & "${Env:VCPKG_ROOT}/vcpkg" install "cairo:${Env:vcpkg_triplet}" - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Create Build Environment - working-directory: ${{runner.workspace}} - run: cmake -E make_directory build - - name: Configure CMake - working-directory: ${{runner.workspace}}/build - run: | - cmake "${Env:GITHUB_WORKSPACE}" -G"Visual Studio 16 2019" -A"${Env:release_arch}" -DCMAKE_BUILD_TYPE="${Env:BUILD_TYPE}" -DVCPKG_TARGET_TRIPLET="${Env:vcpkg_triplet}" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" - - name: Build all - working-directory: ${{runner.workspace}}/build - run: cmake --build . --config "${Env:BUILD_TYPE}" -j 2 - - name: Show built files - working-directory: ${{runner.workspace}}/build/bin - run: tree - - uses: actions/upload-artifact@v2 - with: - name: Win64 artifacts - path: ${{runner.workspace}}/build/bin/ diff --git a/.github/workflows/example-plugins.yml b/.github/workflows/example-plugins.yml deleted file mode 100644 index 76de1644..00000000 --- a/.github/workflows/example-plugins.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: example-plugins - -on: - push: - branches: - - '*' - pull_request: - branches: - - '*' - -jobs: - ubuntu-20-04: - strategy: - matrix: - target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64, win32, win64, pluginval] - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-makefile-action@v1 - with: - dpf_path: . - target: ${{ matrix.target }} - - ubuntu-22-04: - strategy: - matrix: - target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64, win32, win64, pluginval] - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-makefile-action@v1 - with: - dpf_path: . - target: ${{ matrix.target }} - - macos-11: - strategy: - matrix: - target: [macos-intel, macos-universal, macos-10.15] - runs-on: macos-11 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-makefile-action@v1 - with: - dpf_path: . - target: ${{ matrix.target }} - - macos-12: - strategy: - matrix: - target: [macos-intel, macos-universal, macos-10.15] - runs-on: macos-12 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - uses: distrho/dpf-makefile-action@v1 - with: - dpf_path: . - target: ${{ matrix.target }} diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml deleted file mode 100644 index 539fa1d2..00000000 --- a/.github/workflows/irc.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: irc - -on: [push] - -jobs: - notification: - runs-on: ubuntu-latest - name: IRC notification - steps: - - name: Format message - id: message - run: | - message="${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1) ${{ github.event.commits[0].url }}" - echo ::set-output name=message::"${message}" - - name: IRC notification - uses: Gottox/irc-message-action@v2 - with: - channel: '#kxstudio' - nickname: kxstudio-bot - message: ${{ steps.message.outputs.message }} diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml deleted file mode 100644 index a6056d3d..00000000 --- a/.github/workflows/makefile.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: makefile - -on: - push: - branches: - - '*' - pull_request: - branches: - - '*' -env: - DEBIAN_FRONTEND: noninteractive - -jobs: - linux-x86_64: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - name: Set up dependencies - run: | - sudo apt-get update -qq - sudo apt-get install -yq libasound2-dev libcairo2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev xvfb - - name: Without any warnings - env: - CFLAGS: -Werror - CXXFLAGS: -Werror - run: | - make clean >/dev/null - make -j $(nproc) - - name: Run tests - env: - CFLAGS: -Werror - CXXFLAGS: -Werror - run: | - xvfb-run make -C tests run - - name: As C++98 mode - env: - CFLAGS: -Werror - CXXFLAGS: -Werror -std=gnu++98 - run: | - make clean >/dev/null - make -j $(nproc) - - name: No namespace - env: - CFLAGS: -Werror - CXXFLAGS: -Werror -DDONT_SET_USING_DISTRHO_NAMESPACE -DDONT_SET_USING_DGL_NAMESPACE - run: | - make clean >/dev/null - make -j $(nproc) - - name: Custom namespace - env: - CFLAGS: -Werror - CXXFLAGS: -Werror -DDISTRHO_NAMESPACE=WubbWubb -DDGL_NAMESPACE=DabDab - run: | - make clean >/dev/null - make -j $(nproc) - - name: With OpenGL 3.x - env: - CFLAGS: -Werror - CXXFLAGS: -Werror - run: | - make clean >/dev/null - make -j $(nproc) USE_OPENGL3=true - - name: Without Cairo - env: - CFLAGS: -Werror - CXXFLAGS: -Werror - run: | - make clean >/dev/null - make -j $(nproc) HAVE_CAIRO= - - name: Without OpenGL - env: - CFLAGS: -Werror - CXXFLAGS: -Werror - run: | - make clean >/dev/null - make -j $(nproc) HAVE_OPENGL=