-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Showing
95 changed files
with
3,159 additions
and
1,752 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 |
---|---|---|
|
@@ -5,7 +5,8 @@ name: Build-Canary | |
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
branches: | ||
- 'main' | ||
pull_request: | ||
branches-ignore: | ||
- 'translations_**' | ||
|
@@ -20,12 +21,13 @@ jobs: | |
matrix: | ||
configuration: [Release] # No need to distribute Debug builds | ||
platform: [x64] | ||
framework: [net7.0-windows10.0.22000.0] | ||
framework: [net8.0-windows10.0.22621.0] | ||
|
||
env: | ||
Configuration: ${{ matrix.configuration }} | ||
Platform: ${{ matrix.platform }} | ||
DOTNET_INSTALL_DIR: '.\.dotnet' | ||
DOTNET_VERSION: '8.0' | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -38,8 +40,8 @@ jobs: | |
uses: actions/cache@v3 | ||
with: | ||
path: ${{ env.DOTNET_INSTALL_DIR }} | ||
key: ${{ runner.os }}-dotnet-7 | ||
restore-keys: ${{ runner.os }}-dotnet-7 | ||
key: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}-${{ matrix.platform }} | ||
restore-keys: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}-${{ matrix.platform }} | ||
|
||
- name: Cache nuget # cache nuget https://github.com/actions/cache/blob/main/examples.md#c---nuget | ||
uses: actions/cache@v3 | ||
|
@@ -52,10 +54,13 @@ jobs: | |
- name: Install .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 7.0.x | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
with: | ||
vs-prerelease: false | ||
msbuild-architecture: ${{ matrix.platform }} | ||
|
||
- name: Restore | ||
run: dotnet restore CollapseLauncher | ||
|
@@ -84,7 +89,7 @@ jobs: | |
continue-on-error: true | ||
with: | ||
webhook: ${{ secrets.DISCORD_WEBHOOK_NIGHTLY }} | ||
title: New canary build is ready! | ||
title: Collapse Launcher CI build is complete! | ||
status: ${{ job.status }} | ||
description: | | ||
Commit `${{ github.sha }}` by ${{ github.actor }} | ||
|
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,8 +1,21 @@ | ||
@echo off | ||
echo Clearing Collapse cache | ||
rmdir /S /Q CollapseLauncher\bin && rmdir /S /Q CollapseLauncher\obj | ||
echo Clearing ColorThief cache | ||
rmdir /S /Q ColorThief\ColorThief\bin && rmdir /S /Q ColorThief\ColorThief\obj | ||
echo Clearing Core cache | ||
rmdir /S /Q Hi3Helper.Core\bin && rmdir /S /Q Hi3Helper.Core\obj | ||
echo Clearing EncTool cache | ||
rmdir /S /Q Hi3Helper.EncTool\bin && rmdir /S /Q Hi3Helper.EncTool\obj | ||
echo Clearing EncTool tester cache | ||
rmdir /S /Q Hi3Helper.EncTool.Test\bin && rmdir /S /Q Hi3Helper.EncTool.Test\obj | ||
echo Clearing Http cache | ||
rmdir /S /Q Hi3Helper.Http\bin && rmdir /S /Q Hi3Helper.Http\obj | ||
rmdir /S /Q Hi3Helper.SharpHDiffPatch\bin && rmdir /S /Q Hi3Helper.SharpHDiffPatch\obj | ||
echo Clearing Http tester cache | ||
rmdir /S /Q Hi3Helper.Http\Test\bin && rmdir /S /Q Hi3Helper.Http\Test\obj | ||
echo Clearing HDiff cache | ||
rmdir /S /Q Hi3Helper.SharpHDiffPatch\Hi3Helper.SharpHDiffPatch\bin && rmdir /S /Q Hi3Helper.SharpHDiffPatch\Hi3Helper.SharpHDiffPatch\obj | ||
echo Clearing 2nd HDiff cache | ||
rmdir /S /Q Hi3Helper.SharpHDiffPatch\SharpHDiffPatch\bin && rmdir /S /Q Hi3Helper.SharpHDiffPatch\SharpHDiffPatch\obj | ||
echo Clearing 7z cache | ||
rmdir /S /Q Hi3Helper.Core\Classes\Data\Tools\SevenZipTool\SevenZipExtractor\SevenZipExtractor\bin && rmdir /S /Q Hi3Helper.Core\Classes\Data\Tools\SevenZipTool\SevenZipExtractor\SevenZipExtractor\obj |
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.