Browse Source

Add wine CI workflow

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.0
falkTX 3 years ago
parent
commit
34c79fa953
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 69 additions and 6 deletions
  1. +6
    -6
      .github/workflows/build.yml
  2. +63
    -0
      .github/workflows/wine.yml

+ 6
- 6
.github/workflows/build.yml View File

@@ -63,11 +63,13 @@ jobs:
- name: Set up dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libgtk-3-dev liblo-dev libmagic-dev libpulse-dev libqt4-dev libsndfile1-dev libx11-dev pkg-config pyqt5-dev-tools qtbase5-dev
sudo apt-get install -yq g++-multilib libasound2-dev libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libgtk-3-dev liblo-dev libmagic-dev libpulse-dev libqt4-dev libsndfile1-dev libx11-dev pkg-config pyqt5-dev-tools qtbase5-dev
- name: make features
run: make features
- name: make
run: make -j $(nproc)
- name: make posix32
run: make posix32 -j $(nproc)

ubuntu-20_04:
runs-on: ubuntu-20.04
@@ -76,11 +78,13 @@ jobs:
- name: Set up dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libgtk-3-dev liblo-dev libmagic-dev libpulse-dev libsndfile1-dev libx11-dev pkg-config pyqt5-dev-tools qtbase5-dev
sudo apt-get install -yq g++-multilib libasound2-dev libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libgtk-3-dev liblo-dev libmagic-dev libpulse-dev libsndfile1-dev libx11-dev pkg-config pyqt5-dev-tools qtbase5-dev
- name: make features
run: make features
- name: make
run: make -j $(nproc)
- name: make posix32
run: make posix32 -j $(nproc)

ubuntu-mingw-win32:
runs-on: ubuntu-20.04
@@ -101,8 +105,6 @@ jobs:
run: make features
- name: make
run: make -j $(nproc)
- name: make wine32
run: make wine32

ubuntu-mingw-win64:
runs-on: ubuntu-20.04
@@ -122,5 +124,3 @@ jobs:
run: make features
- name: make
run: make -j $(nproc)
- name: make wine64
run: make wine64

+ 63
- 0
.github/workflows/wine.yml View File

@@ -0,0 +1,63 @@
name: wine

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
DEBIAN_FRONTEND: noninteractive
HOMEBREW_NO_AUTO_UPDATE: 1

jobs:
ubuntu-18_04:
runs-on: ubuntu-18.04
env:
WINEDEBUG: "-all"
steps:
- uses: actions/checkout@v2
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -yq g++-multilib pkg-config wine-stable
sudo apt-get install -yq binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 mingw-w64
- name: make wine32
run: make wine32 -j $(nproc)
- name: make wine64
run: make wine64 -j $(nproc)
- name: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
run: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ -j $(nproc)
- name: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
run: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
- name: make plugin-wine
run: make plugin-wine -j $(nproc)
- name: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
run: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)

ubuntu-20_04:
runs-on: ubuntu-20.04
env:
WINEDEBUG: "-all"
steps:
- uses: actions/checkout@v2
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -yq g++-multilib pkg-config wine-stable
sudo apt-get install -yq binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 mingw-w64
- name: make wine32
run: make wine32 -j $(nproc)
- name: make wine64
run: make wine64 -j $(nproc)
- name: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
run: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ -j $(nproc)
- name: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
run: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
- name: make plugin-wine
run: make plugin-wine -j $(nproc)
- name: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
run: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)

Loading…
Cancel
Save