Skip to content

Commit

Permalink
Disable unnecessary build targets
Browse files Browse the repository at this point in the history
Signed-off-by: Jonatan Czarniecki <[email protected]>
  • Loading branch information
papaj-na-wrotkach committed Oct 8, 2023
1 parent e3a9196 commit 86d9dcc
Showing 1 changed file with 67 additions and 68 deletions.
135 changes: 67 additions & 68 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,33 @@ jobs:
matrix:
include:

- os: ubuntu-20.04
qt_ver: 5
# - os: ubuntu-20.04
# qt_ver: 5

- os: ubuntu-20.04
qt_ver: 6
qt_host: linux
qt_arch: ''
qt_version: '6.2.4'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''
# - os: ubuntu-20.04
# qt_ver: 6
# qt_host: linux
# qt_arch: ''
# qt_version: '6.2.4'
# qt_modules: 'qt5compat qtimageformats'
# qt_tools: ''

- os: windows-2022
name: "Windows-MinGW-w64"
msystem: clang64
vcvars_arch: 'amd64_x86'

- os: windows-2022
name: "Windows-MSVC-Legacy"
msystem: ''
architecture: 'win32'
vcvars_arch: 'amd64_x86'
qt_ver: 5
qt_host: windows
qt_arch: 'win32_msvc2019'
qt_version: '5.15.2'
qt_modules: ''
qt_tools: 'tools_openssl_x86'
# - os: windows-2022
# name: "Windows-MSVC-Legacy"
# msystem: ''
# architecture: 'win32'
# vcvars_arch: 'amd64_x86'
# qt_ver: 5
# qt_host: windows
# qt_arch: 'win32_msvc2019'
# qt_version: '5.15.2'
# qt_modules: ''
# qt_tools: 'tools_openssl_x86'

- os: windows-2022
name: "Windows-MSVC"
Expand All @@ -78,36 +78,36 @@ jobs:
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''

- os: windows-2022
name: "Windows-MSVC-arm64"
msystem: ''
architecture: 'arm64'
vcvars_arch: 'amd64_arm64'
qt_ver: 6
qt_host: windows
qt_arch: 'win64_msvc2019_arm64'
qt_version: '6.5.2'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''

- os: macos-12
name: macOS
macosx_deployment_target: 11.0
qt_ver: 6
qt_host: mac
qt_arch: ''
qt_version: '6.5.2'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''

- os: macos-12
name: macOS-Legacy
macosx_deployment_target: 10.13
qt_ver: 5
qt_host: mac
qt_version: '5.15.2'
qt_modules: ''
qt_tools: ''
# - os: windows-2022
# name: "Windows-MSVC-arm64"
# msystem: ''
# architecture: 'arm64'
# vcvars_arch: 'amd64_arm64'
# qt_ver: 6
# qt_host: windows
# qt_arch: 'win64_msvc2019_arm64'
# qt_version: '6.5.2'
# qt_modules: 'qt5compat qtimageformats'
# qt_tools: ''

# - os: macos-12
# name: macOS
# macosx_deployment_target: 11.0
# qt_ver: 6
# qt_host: mac
# qt_arch: ''
# qt_version: '6.5.2'
# qt_modules: 'qt5compat qtimageformats'
# qt_tools: ''

# - os: macos-12
# name: macOS-Legacy
# macosx_deployment_target: 10.13
# qt_ver: 5
# qt_host: mac
# qt_version: '5.15.2'
# qt_modules: ''
# qt_tools: ''

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -612,21 +612,20 @@ jobs:
shell: msys2 {0}
run: |
ccache -s
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
if: inputs.build_type == 'Debug'
with:
submodules: 'true'
- name: Build Flatpak (Linux)
if: inputs.build_type == 'Debug'
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: "Prism Launcher.flatpak"
manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml
# flatpak:
# runs-on: ubuntu-latest
# container:
# image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08
# options: --privileged
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# if: inputs.build_type == 'Debug'
# with:
# submodules: 'true'
# - name: Build Flatpak (Linux)
# if: inputs.build_type == 'Debug'
# uses: flatpak/flatpak-github-actions/flatpak-builder@v6
# with:
# bundle: "Prism Launcher.flatpak"
# manifest-path: flatpak/org.prismlauncher.PrismLauncher.yml

0 comments on commit 86d9dcc

Please sign in to comment.