diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c00e973bc..00f676916 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/wine.yml b/.github/workflows/wine.yml new file mode 100644 index 000000000..49d427f9c --- /dev/null +++ b/.github/workflows/wine.yml @@ -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)