forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b871748
commit 7cc5db5
Showing
6 changed files
with
157 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ on: | |
build_mode: | ||
description: 'Build mode: devel_build, nightly_build, testing_build, stable_build' | ||
required: true | ||
default: 'devel_build' | ||
default: 'devel_build' | ||
|
||
jobs: | ||
build_mu3: | ||
build_mu3_x64: | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Cancel Previous Runs | ||
|
@@ -73,7 +73,7 @@ jobs: | |
with: | ||
name: MuseScore_${{ github.run_id }} | ||
path: build.artifacts\ | ||
build_mu4: | ||
build_mu4_x64: | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Cancel Previous Runs | ||
|
@@ -135,3 +135,133 @@ jobs: | |
with: | ||
name: MuseScore_MU4_${{ github.run_id }} | ||
path: build.artifacts\ | ||
|
||
# Builds x32 and portable currently disabled | ||
# They need to be enabled when we switch to mu4 by default and decide to make a release. | ||
|
||
# build_x32: | ||
# runs-on: windows-2019 | ||
# steps: | ||
# - name: Cancel Previous Runs | ||
# uses: styfle/[email protected] | ||
# with: | ||
# access_token: ${{ github.token }} | ||
# - name: Clone repository | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# fetch-depth: 3 | ||
# - name: Fetch submodules | ||
# run: | | ||
# git submodule update --init --recursive | ||
# - name: "Configure workflow" | ||
# shell: bash | ||
# run: | | ||
# bash ./build/ci/tools/make_build_mode_env.sh -e ${{ github.event_name }} -m ${{ github.event.inputs.build_mode }} | ||
# BUILD_MODE=$(cat ./build.artifacts/env/build_mode.env) | ||
|
||
# DO_BUILD='false' | ||
# if [[ "$BUILD_MODE" == "testing_build" || "$BUILD_MODE" == "stable_build" ]]; then | ||
# DO_BUILD='true' | ||
# fi | ||
# echo "::set-env name=DO_BUILD::$DO_BUILD" | ||
# echo "DO_BUILD: $DO_BUILD" | ||
|
||
# # Publish disabled for build x32 | ||
# DO_PUBLISH='false' | ||
# echo "::set-env name=DO_PUBLISH::$DO_PUBLISH" | ||
# echo "DO_PUBLISH: $DO_PUBLISH" | ||
# - name: Setup environment | ||
# if: env.DO_BUILD == 'true' | ||
# run: | | ||
# build\ci\windows\setup.bat -b 32 | ||
# - name: Build | ||
# if: env.DO_BUILD == 'true' | ||
# shell: cmd | ||
# run: | | ||
# IF ${{ secrets.TELEMETRY_TRACK_ID != 0 }} == true ( SET T_ID=${{ secrets.TELEMETRY_TRACK_ID }} ) ELSE ( SET T_ID="" ) | ||
# IF ${{ secrets.CRASH_LOG_SERVER_URL != 0 }} == true ( SET C_URL=${{ secrets.CRASH_LOG_SERVER_URL }} ) ELSE ( SET C_URL="" ) | ||
# build\ci\windows\build.bat -b 32 -n ${{ github.run_id }} --telemetry %T_ID% --crashurl %C_URL% | ||
# - name: Package | ||
# if: env.DO_BUILD == 'true' | ||
# shell: cmd | ||
# run: | | ||
# IF ${{ secrets.WIN_SIGN_CERTIFICATE_ENCRYPT_SECRET != 0 }} == true ( SET S_S=${{ secrets.WIN_SIGN_CERTIFICATE_ENCRYPT_SECRET }} ) ELSE ( SET S_S="" ) | ||
# IF ${{ secrets.WIN_SIGN_CERTIFICATE_PASSWORD != 0 }} == true ( SET S_P=${{ secrets.WIN_SIGN_CERTIFICATE_PASSWORD }} ) ELSE ( SET S_P="" ) | ||
# build\ci\windows\package.bat -b 32 --signsecret %S_S% --signpass %S_P% | ||
# - name: Checksum | ||
# if: env.DO_BUILD == 'true' | ||
# run: | | ||
# bash ./build/ci/tools/checksum.sh | ||
# - name: Publish package | ||
# if: env.DO_PUBLISH == 'true' | ||
# shell: cmd | ||
# run: | | ||
# build\ci\windows\publish.bat --secret ${{ secrets.OSUOSL_SSH_ENCRYPT_SECRET }} | ||
# - name: Upload artifacts on GitHub | ||
# if: env.DO_BUILD == 'true' | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: MuseScore_x86_${{ github.run_id }} | ||
# path: build.artifacts\ | ||
# build_portable: | ||
# runs-on: windows-2019 | ||
# steps: | ||
# - name: Cancel Previous Runs | ||
# uses: styfle/[email protected] | ||
# with: | ||
# access_token: ${{ github.token }} | ||
# - name: Clone repository | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# fetch-depth: 3 | ||
# - name: Fetch submodules | ||
# run: | | ||
# git submodule update --init --recursive | ||
# - name: "Configure workflow" | ||
# shell: bash | ||
# run: | | ||
# bash ./build/ci/tools/make_build_mode_env.sh -e ${{ github.event_name }} -m ${{ github.event.inputs.build_mode }} | ||
# BUILD_MODE=$(cat ./build.artifacts/env/build_mode.env) | ||
|
||
# DO_BUILD='false' | ||
# if [[ "$BUILD_MODE" == "testing_build" || "$BUILD_MODE" == "stable_build" ]]; then | ||
# DO_BUILD='true' | ||
# fi | ||
# echo "::set-env name=DO_BUILD::$DO_BUILD" | ||
# echo "DO_BUILD: $DO_BUILD" | ||
|
||
# # Publish disabled for build x32 | ||
# DO_PUBLISH='false' | ||
# echo "::set-env name=DO_PUBLISH::$DO_PUBLISH" | ||
# echo "DO_PUBLISH: $DO_PUBLISH" | ||
# - name: Setup environment | ||
# if: env.DO_BUILD == 'true' | ||
# run: | | ||
# build\ci\windows\setup.bat -b 32 --portable ON | ||
# - name: Build | ||
# if: env.DO_BUILD == 'true' | ||
# shell: cmd | ||
# run: | | ||
# IF ${{ secrets.TELEMETRY_TRACK_ID != 0 }} == true ( SET T_ID=${{ secrets.TELEMETRY_TRACK_ID }} ) ELSE ( SET T_ID="" ) | ||
# IF ${{ secrets.CRASH_LOG_SERVER_URL != 0 }} == true ( SET C_URL=${{ secrets.CRASH_LOG_SERVER_URL }} ) ELSE ( SET C_URL="" ) | ||
# build\ci\windows\build.bat -b 32 --portable ON -n ${{ github.run_id }} --telemetry %T_ID% --crashurl %C_URL% | ||
# - name: Package | ||
# if: env.DO_BUILD == 'true' | ||
# shell: cmd | ||
# run: | | ||
# build\ci\windows\package.bat -b 32 --portable ON | ||
# - name: Checksum | ||
# if: env.DO_BUILD == 'true' | ||
# run: | | ||
# bash ./build/ci/tools/checksum.sh | ||
# - name: Publish package | ||
# if: env.DO_PUBLISH == 'true' | ||
# run: | | ||
# build\ci\windows\publish.bat --secret ${{ secrets.OSUOSL_SSH_ENCRYPT_SECRET }} | ||
# shell: cmd | ||
# - name: Upload artifacts on GitHub | ||
# if: env.DO_BUILD == 'true' | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: MuseScore_Portable_${{ github.run_id }} | ||
# path: build.artifacts\ |
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
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