Browse Source

Cleanup CI files

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
d2d8d66bb1
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 72 additions and 103 deletions
  1. +0
    -103
      .github/workflows/build.yml
  2. +72
    -0
      .github/workflows/dpf.yml
  3. +0
    -0
      .github/workflows/wine.yml.disabled

+ 0
- 103
.github/workflows/build.yml View File

@@ -25,60 +25,6 @@ jobs:
- name: make - name: make
run: make -j $(sysctl -n hw.logicalcpu) run: make -j $(sysctl -n hw.logicalcpu)


#msys2-i686:
#runs-on: windows-latest
#defaults:
#run:
#shell: msys2 {0}
#steps:
#- uses: actions/checkout@v3
#- uses: msys2/setup-msys2@v3
#with:
#msystem: mingw32
#install: base-devel make mingw-w64-i686-toolchain mingw-w64-i686-fluidsynth mingw-w64-i686-liblo mingw-w64-i686-libsndfile mingw-w64-i686-pkg-config mingw-w64-i686-python-pyqt5
#- name: make features
#run: make features
#- name: make
#run: make -j $(nproc)

#msys2-x86_64:
#runs-on: windows-latest
#defaults:
#run:
#shell: msys2 {0}
#steps:
#- uses: actions/checkout@v3
#- uses: msys2/setup-msys2@v3
#with:
#msystem: mingw64
#install: base-devel make mingw-w64-x86_64-toolchain mingw-w64-x86_64-fluidsynth mingw-w64-x86_64-liblo mingw-w64-x86_64-libsndfile mingw-w64-x86_64-pkg-config mingw-w64-x86_64-python-pyqt5
#- name: make features
#run: make features
#- name: make
#run: make -j $(nproc)

ubuntu-18_04:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libqt4-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
sudo apt-get install -yq g++-multilib libfreetype6:i386 libfontconfig1:i386 libx11-6:i386 libxext6:i386
# Fix 32bit bridge build
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
sudo ln -s /usr/lib/i386-linux-gnu/libfontconfig.so.1 /usr/lib/i386-linux-gnu/libfontconfig.so
- name: make features
run: make features
- name: make
run: make -j $(nproc)
- name: make posix32
run: make posix32 -j $(nproc)

ubuntu-20_04: ubuntu-20_04:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
@@ -105,52 +51,3 @@ jobs:
run: make -j $(nproc) run: make -j $(nproc)
- name: make posix32 - name: make posix32
run: make posix32 -j $(nproc) run: make posix32 -j $(nproc)

ubuntu-mingw-win32:
runs-on: ubuntu-20.04
env:
CC: i686-w64-mingw32-gcc
CXX: i686-w64-mingw32-g++
CROSS_COMPILING: "true"
PKG_CONFIG: "false"
steps:
- uses: actions/checkout@v3
- name: Fix GitHub's mess
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64
- name: make features
run: make features
- name: make
run: make -j $(nproc)

ubuntu-mingw-win64:
runs-on: ubuntu-20.04
env:
CC: x86_64-w64-mingw32-gcc
CXX: x86_64-w64-mingw32-g++
CROSS_COMPILING: "true"
PKG_CONFIG: "false"
steps:
- uses: actions/checkout@v3
- name: Fix GitHub's mess
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
- name: Set up dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64
- name: make features
run: make features
- name: make
run: make -j $(nproc)

+ 72
- 0
.github/workflows/dpf.yml View File

@@ -0,0 +1,72 @@
name: dpf

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
linux:
strategy:
matrix:
target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: ${{ matrix.target }}
pawpaw: true

macos:
strategy:
matrix:
target: [macos-intel, macos-universal]
runs-on: macos-11
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: ${{ matrix.target }}
pawpaw: true

windows:
strategy:
matrix:
target: [win32, win64]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: ${{ matrix.target }}
pawpaw: true

pluginval:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: pluginval

source:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-makefile-action@v1
with:
target: source

.github/workflows/wine.yml → .github/workflows/wine.yml.disabled View File


Loading…
Cancel
Save