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 Nov 13, 2023
1 parent 02c561a commit 8faf382
Showing 1 changed file with 56 additions and 56 deletions.
112 changes: 56 additions & 56 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:
fail-fast: false
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"
Expand All @@ -65,36 +65,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.6.0'
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.6.0'
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.6.0'
# 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.6.0'
# 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 @@ -591,20 +591,20 @@ jobs:
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 8faf382

Please sign in to comment.