Skip to content

Commit

Permalink
DEBUG: DISABLE UNNEEDED BUILDS
Browse files Browse the repository at this point in the history
  • Loading branch information
ann0see committed Jul 27, 2023
1 parent 032ff1a commit 5aa3f82
Showing 1 changed file with 3 additions and 60 deletions.
63 changes: 3 additions & 60 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,21 +193,12 @@ jobs:
# Think of this like a foreach loop. Basically runs the steps with every combination of
# the contents of this.
config:
- config_name: Android .apk (artifact+codeQL)
target_os: android
building_on_os: ubuntu-20.04
base_command: ./.github/autobuild/android.sh
run_codeql: true
is_main_build_target: true
# Jamulus.pro needs to count git history length for android versioning:
checkout_fetch_depth: '0'

- config_name: Linux .deb amd64 (artifacts+codeQL)
target_os: linux
building_on_os: ubuntu-22.04
building_container: ubuntu:18.04
base_command: ./.github/autobuild/linux_deb.sh
run_codeql: true
run_codeql: false
is_main_build_target: true

- config_name: Linux .deb armhf (artifacts)
Expand All @@ -224,54 +215,6 @@ jobs:
base_command: TARGET_ARCH=arm64 ./.github/autobuild/linux_deb.sh
run_codeql: false

- config_name: MacOS (artifacts)
target_os: macos
building_on_os: macos-12
base_command: QT_VERSION=6.5.2 SIGN_IF_POSSIBLE=1 TARGET_ARCHS="x86_64 arm64" ./.github/autobuild/mac.sh
# Disable CodeQL on mac as it interferes with signing the binaries (signing hangs, see #2563 and #2564)
run_codeql: false
# Latest Xcode which runs on macos-11:
xcode_version: 13.4.1
is_main_build_target: true

# Reminder: If Legacy is removed, be sure to add a dedicated job for CodeQL again.
- config_name: MacOS Legacy (artifacts+CodeQL)
target_os: macos
building_on_os: macos-12
base_command: QT_VERSION=5.9.9 SIGN_IF_POSSIBLE=0 ARTIFACT_SUFFIX=_legacy ./.github/autobuild/mac.sh
# Enable CodeQL on mac legacy as this version does not get signed
run_codeql: true
# For Qt5 on Mac, we need to ensure SDK 10.15 is used, and not SDK 11.x.
# Xcode 12.1 is the most-recent release which still ships SDK 10.15:
# https://developer.apple.com/support/xcode/
# Xcode 12.1.1 is the most-recent 12.1.x release:
# https://xcodereleases.com/
xcode_version: 14.2.0
is_main_build_target: true

- config_name: iOS (artifacts)
target_os: ios
building_on_os: macos-11
base_command: QT_VERSION=5.15.2 ./.github/autobuild/ios.sh
# Build failed with CodeQL enabled when last tested 03/2022 (#2490).
# There are no hints that iOS is supposed to be supported by CodeQL.
# Therefore, disable it:
run_codeql: false
xcode_version: 12.5.1

- config_name: Windows (artifact+codeQL)
target_os: windows
building_on_os: windows-2022
base_command: powershell .\.github\autobuild\windows.ps1 -Stage
run_codeql: true
is_main_build_target: true

- config_name: Windows JACK (artifact)
target_os: windows
building_on_os: windows-2022
base_command: powershell .\.github\autobuild\windows.ps1 -BuildOption jackonwindows -Stage
run_codeql: false

# This injects the build_all_targets information into each matrix output:
build_all_targets:
- ${{ needs.create_release.outputs.build_all_targets }}
Expand Down Expand Up @@ -458,14 +401,14 @@ jobs:
chmod 700 gpghome
# Import private key
export GPG_TTY=$(tty)
echo "Getting private GPG key from GitHub secrets..."
mkdir ~/privkey
chmod 700 ~/privkey
touch ~/privkey/priv.key
echo "${GPG_PRIVATE_KEY}" > ~/privkey/priv.key
echo "Importing private GPG key..."
gpg --homedir gpghome --import ~/privkey/priv.key
gpg --batch --homedir gpghome --import ~/privkey/priv.key
rm -rf privkey
# Unfortunately download-artifact action doesn't support wild card downloads. Thus downloading all artifacts
- name: Download all artifacts
Expand Down

0 comments on commit 5aa3f82

Please sign in to comment.