-
-
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 sync_lock_algorithm
- Loading branch information
Showing
1,652 changed files
with
147,151 additions
and
187,838 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 |
---|---|---|
|
@@ -6,3 +6,4 @@ sord | |
doubleClick | ||
sur | ||
jus | ||
caf |
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
res/controllers/lodash.mixxx.js | ||
res/controllers/Novation-Launchpad MK2-scripts.js | ||
res/controllers/Novation-Launchpad Mini MK3-scripts.js | ||
res/controllers/Novation-Launchpad-scripts.js |
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
name: ${{ matrix.name }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Install build dependencies | ||
run: tools/debian_buildenv.sh setup | ||
- name: Create build directory | ||
|
@@ -111,13 +111,20 @@ jobs: | |
.. | ||
working-directory: build | ||
- name: Set up problem matcher | ||
uses: ammaraskar/gcc-problem-matcher@master | ||
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.4 libc6-dev=2.35-0ubuntu3.4 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 | ||
working-directory: build | ||
env: | ||
CLAZY_CHECKS: level2,no-rule-of-two-soft,no-non-pod-global-static,no-qproperty-without-notify,no-wrong-qevent-cast,no-qstring-allocations,no-function-args-by-value,no-copyable-polymorphic,no-ctor-missing-parent-argument,no-missing-qobject-macro,no-rule-of-three,no-returning-void-expression,no-missing-typeinfo,no-base-class-event | ||
CLAZY_CHECKS: level2,container-inside-loop,heap-allocated-small-trivial-type,isempty-vs-count,qhash-with-char-pointer-key,qproperty-type-mismatch,tr-non-literal,no-rule-of-two-soft,no-non-pod-global-static,no-qproperty-without-notify,no-qstring-allocations,no-function-args-by-value,no-copyable-polymorphic,no-ctor-missing-parent-argument,no-missing-qobject-macro,no-rule-of-three,no-returning-void-expression | ||
CLAZY_IGNORE_DIRS: lib/.* | ||
- name: "Test" | ||
if: matrix.name == 'coverage' | ||
|
@@ -146,7 +153,7 @@ jobs: | |
- name: "Upload Coverage Report to coveralls.io" | ||
if: matrix.name == 'coverage' | ||
continue-on-error: true | ||
uses: coverallsapp/github-action@master | ||
uses: coverallsapp/github-action@v2.2.3 | ||
with: | ||
flag-name: ubuntu-22.04 | ||
path-to-lcov: build/lcov.info | ||
|
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 }} | ||
|
@@ -163,7 +163,7 @@ jobs: | |
run: cargo install --version "${{ env.SCCACHE_VERSION }}" sccache | ||
|
||
- name: "Check out repository" | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
# This is necessary for making `git describe` work. | ||
fetch-depth: 0 | ||
|
@@ -181,17 +181,26 @@ 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: seanmiddleditch/gha-setup-vsdevenv@v4 | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: "[macOS] install ccache and make" | ||
if: runner.os == 'macOS' | ||
|
@@ -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 | ||
|
@@ -240,7 +246,7 @@ jobs: | |
WINDOWS_CODESIGN_SECURE_FILE_SECRET: ${{ secrets.WINDOWS_CODESIGN_SECURE_FILE_SECRET }} | ||
if: runner.os == 'Windows' && env.WINDOWS_CODESIGN_SECURE_FILE_SALT != null && env.WINDOWS_CODESIGN_SECURE_FILE_SECRET != null | ||
run: | | ||
iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1')) | ||
iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/fc44f5c5f2fb184fe738814f373c16cb69c30929/install.ps1')) | ||
appveyor-tools/secure-file -decrypt "$Env:WINDOWS_CODESIGN_CERTIFICATE_PATH.enc" -secret "$Env:WINDOWS_CODESIGN_SECURE_FILE_SECRET" -salt "$Env:WINDOWS_CODESIGN_SECURE_FILE_SALT" | ||
Add-Content -Path "$Env:GITHUB_ENV" -Value "WINDOWS_CODESIGN_CERTIFICATE_PATH=$Env:WINDOWS_CODESIGN_CERTIFICATE_PATH" | ||
Add-Content -Path "$Env:GITHUB_ENV" -Value "WINDOWS_CODESIGN_CERTIFICATE_PASSWORD=$Env:WINDOWS_CODESIGN_CERTIFICATE_PASSWORD" | ||
|
@@ -299,11 +305,11 @@ jobs: | |
|
||
- name: "[Ubuntu/macOS] Set up gcc/clang problem matcher" | ||
if: runner.os != 'Windows' | ||
uses: ammaraskar/gcc-problem-matcher@master | ||
uses: ammaraskar/gcc-problem-matcher@0.2.0 | ||
|
||
- name: "[Windows] Set up MSVC problem matcher" | ||
if: runner.os == 'Windows' | ||
uses: ammaraskar/msvc-problem-matcher@master | ||
uses: ammaraskar/msvc-problem-matcher@0.2.0 | ||
|
||
- name: "Build" | ||
run: cmake --build . --config RelWithDebInfo | ||
|
@@ -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,9 +482,12 @@ 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@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -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
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
Oops, something went wrong.