-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/2.4' into Traktor-Z2-2.3
- Loading branch information
Showing
1,429 changed files
with
8,551 additions
and
7,257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,13 @@ jobs: | |
working-directory: build | ||
- name: Set up problem matcher | ||
uses: ammaraskar/[email protected] | ||
# Work around https://github.com/actions/runner-images/issues/8659 | ||
- name: "Remove GCC 13 from runner image (workaround)" | ||
shell: bash | ||
run: | | ||
sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list | ||
sudo apt-get update | ||
sudo apt-get install -y --allow-downgrades libc6=2.35-0ubuntu3.5 libc6-dev=2.35-0ubuntu3.5 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04 | ||
- name: Build | ||
# Do not abort on errors and build/check the whole project | ||
run: cmake --build . -j $(nproc) -- --keep-going | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,8 +135,8 @@ jobs: | |
env: | ||
SCCACHE_VERSION: "0.3.0" | ||
# macOS codesigning | ||
APPLE_CODESIGN_IDENTITY: 2C2B5D3EDCE82BA55E22E9A67F16F8D03E390870 | ||
MACOS_CODESIGN_OPENSSL_PASSWORD: ${{ secrets.MACOS_CODESIGN_OPENSSL_PASSWORD }} | ||
APPLE_CODESIGN_IDENTITY: EF241CF990A9BE5477438AEE1F308F76F33FD100 | ||
MACOS_CODESIGN_CERTIFICATE_P12_BASE64: ${{ secrets.MACOS_CODESIGN_CERTIFICATE_P12_BASE64 }} | ||
MACOS_CODESIGN_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CODESIGN_CERTIFICATE_PASSWORD }} | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
@@ -181,14 +181,23 @@ jobs: | |
|
||
- name: "[macOS] Set up cmake" | ||
uses: jwlawson/[email protected] | ||
# Ubuntu 22.04 should use the CMake version from the repos, and Visual | ||
# Studio on Windows comes with its own CMake version anyway. | ||
# Ubuntu 22.04 should use the CMake version from the repos. | ||
if: runner.os == 'macOS' | ||
with: | ||
# This should always match the minimum required version in | ||
# our CMakeLists.txt | ||
cmake-version: "3.19.x" | ||
|
||
- name: "[Windows] Set up cmake" | ||
uses: jwlawson/[email protected] | ||
# Ubuntu 22.04 should use the CMake version from the repos. | ||
if: runner.os == 'Windows' | ||
with: | ||
# This is a workaround for a SSL false positive in cmake 3.26.4 | ||
# When downloading the manual. 3.21 is required for installing the | ||
# ANGLE Dlls via IMPORTED_RUNTIME_ARTIFACTS | ||
cmake-version: "3.21.x" | ||
|
||
- name: "[Windows] Set up MSVC Developer Command Prompt" | ||
if: runner.os == 'Windows' | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
|
@@ -212,13 +221,10 @@ jobs: | |
|
||
- name: "[macOS] Import Apple code signing identity" | ||
id: apple_codesign | ||
if: runner.os == 'macOS' && env.MACOS_CODESIGN_OPENSSL_PASSWORD != null && env.MACOS_CODESIGN_CERTIFICATE_PASSWORD != null | ||
if: runner.os == 'macOS' && env.MACOS_CODESIGN_CERTIFICATE_P12_BASE64 != null && env.MACOS_CODESIGN_CERTIFICATE_PASSWORD != null | ||
run: | | ||
# Decrypt the certificate | ||
openssl enc -aes-256-cbc -d -md sha512 \ | ||
-k "${MACOS_CODESIGN_OPENSSL_PASSWORD}" \ | ||
-in /Users/runner/work/mixxx/mixxx/packaging/certificates/macos_developer_id_codesign_certificate.p12.enc \ | ||
-out ~/certificate.p12 | ||
# Decode the certificate | ||
echo "${{ env.MACOS_CODESIGN_CERTIFICATE_P12_BASE64 }}" | base64 -d -o ~/certificate.p12 | ||
# Create a temporary keychain for the certificate and import it. | ||
security create-keychain -p mixxx Mixxx.keychain | ||
|
@@ -368,13 +374,12 @@ jobs: | |
working-directory: build | ||
|
||
- name: "[macOS] Sign, Notarize, and Staple Package" | ||
if: runner.os == 'macOS' && env.MACOS_CODESIGN_OPENSSL_PASSWORD != null && env.MACOS_CODESIGN_CERTIFICATE_PASSWORD != null && env.APPLE_APP_SPECIFIC_PASSWORD != null | ||
if: runner.os == 'macOS' && env.MACOS_CODESIGN_CERTIFICATE_P12_BASE64 != null && env.MACOS_CODESIGN_CERTIFICATE_PASSWORD != null && env.APPLE_APP_SPECIFIC_PASSWORD != null | ||
run: packaging/macos/sign_notarize_staple.sh build/*.dmg | ||
env: | ||
APPLE_ID_USERNAME: [email protected] | ||
APPLE_BUNDLE_ID: org.mixxx.mixxx | ||
APPLE_ID_USERNAME: [email protected] | ||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.MACOS_NOTARIZATION_APP_SPECIFIC_PASSWORD }} | ||
ASC_PROVIDER: FLYL4D545V | ||
APPLE_TEAM_ID: JBLRSP95FC | ||
|
||
- name: "[Windows] Sign Package" | ||
if: runner.os == 'Windows' && env.WINDOWS_CODESIGN_CERTIFICATE_PATH != null && env.WINDOWS_CODESIGN_CERTIFICATE_PASSWORD != null | ||
|
@@ -477,6 +482,9 @@ jobs: | |
name: "Update manifest file on download server" | ||
runs-on: ubuntu-latest | ||
needs: build | ||
# Always run this job, even if one or more jobs from the `build` jobs | ||
# fail to allow partial updates of the manifest. | ||
if: always() | ||
steps: | ||
- name: "Check out repository" | ||
uses: actions/checkout@v4 | ||
|
@@ -501,6 +509,7 @@ jobs: | |
export DEPLOY_PATH='snapshots/{git_branch}/manifest.json'; | ||
fi; | ||
python3 tools/deploy.py generate-manifest | ||
--update | ||
--output-dir 'deploy/' | ||
--dest-path "${DEPLOY_PATH}" | ||
--dest-url 'https://downloads.mixxx.org' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.