workflows: Enable Qt for Linux builds
This commit is contained in:
15
.github/workflows/cmake.yml
vendored
15
.github/workflows/cmake.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
- name: Regular ODR
|
- name: Regular ODR
|
||||||
@@ -111,7 +111,7 @@ jobs:
|
|||||||
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
|
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
- name: Regular ODR
|
- name: Regular ODR
|
||||||
@@ -213,7 +213,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
- name: Regular ODR
|
- name: Regular ODR
|
||||||
@@ -252,15 +252,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt update && sudo apt install gcc-11 g++-11 libfreetype-dev libsdl2-dev libpng-dev libopenal-dev libc6-dev librtmidi-dev
|
run: sudo apt update && sudo apt install gcc-11 g++-11 libfreetype-dev libsdl2-dev libpng-dev libopenal-dev libc6-dev librtmidi-dev qtbase5-dev
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >-
|
run: >-
|
||||||
cmake -S . -B build
|
cmake -S . -B build
|
||||||
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
-D CMAKE_INSTALL_PREFIX=./build/artifacts
|
||||||
-D DEV_BRANCH=${{ matrix.build.dev-build }}
|
-D DEV_BRANCH=${{ matrix.build.dev-build }}
|
||||||
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
-D NEW_DYNAREC=${{ matrix.build.new-dynarec }}
|
||||||
-D VNC=OFF
|
-D QT=ON
|
||||||
-D QT=OFF
|
|
||||||
-D CMAKE_BUILD_TYPE=${{ matrix.build.type }}
|
-D CMAKE_BUILD_TYPE=${{ matrix.build.type }}
|
||||||
-D CMAKE_C_COMPILER=gcc-11 -D CMAKE_CXX_COMPILER=g++-11
|
-D CMAKE_C_COMPILER=gcc-11 -D CMAKE_CXX_COMPILER=g++-11
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -269,7 +268,7 @@ jobs:
|
|||||||
run: cmake --install build --prefix ./build/artifacts ${{ matrix.build.strip }}
|
run: cmake --install build --prefix ./build/artifacts ${{ matrix.build.strip }}
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: '86Box${{ matrix.build.slug }}-Linux-x86_64-gha${{ github.run_number }}'
|
name: '86Box${{ matrix.build.slug }}-UbuntuFocal-x86_64-gha${{ github.run_number }}'
|
||||||
path: build/artifacts/**
|
path: build/artifacts/**
|
||||||
|
|
||||||
macos11:
|
macos11:
|
||||||
@@ -278,7 +277,7 @@ jobs:
|
|||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
- name: Regular ODR
|
- name: Regular ODR
|
||||||
|
Reference in New Issue
Block a user