From 741bb2825d83d79d4fb960491aedbe012ebe2464 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 21 Feb 2021 15:27:58 -0800 Subject: [PATCH 1/2] Add building distribution in Release in CI --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c7db58f..edea7bcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,11 @@ jobs: DEVELOPER_DIR: ${{ matrix.xcode }} run: | xcodebuild test-without-building -project Sparkle.xcodeproj -scheme UITests -configuration Debug -derivedDataPath build + - name: Build Release Distribution + env: + DEVELOPER_DIR: ${{ matrix.xcode }} + run: | + xcodebuild build -project Sparkle.xcodeproj -scheme Distribution -configuration Release -derivedDataPath build - name: Archive Test Results if: failure() uses: actions/upload-artifact@v2 From cde2af9c7fef1c30a998b7eb42be3bb3c7058573 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 21 Feb 2021 15:39:27 -0800 Subject: [PATCH 2/2] Add SULog.m to Sparkle Test App to fix compile failures --- Sparkle.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 9803ed18..769d821e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -281,6 +281,7 @@ 72AC6B2A1B9AAF3A00F62325 /* SparkleTestCodeSignApp.tar.bz2 in Resources */ = {isa = PBXBuildFile; fileRef = 72AC6B291B9AAF3A00F62325 /* SparkleTestCodeSignApp.tar.bz2 */; }; 72AC6B2C1B9AB0EE00F62325 /* SparkleTestCodeSignApp.tar.xz in Resources */ = {isa = PBXBuildFile; fileRef = 72AC6B2B1B9AB0EE00F62325 /* SparkleTestCodeSignApp.tar.xz */; }; 72AC6B2E1B9B218C00F62325 /* SparkleTestCodeSignApp.dmg in Resources */ = {isa = PBXBuildFile; fileRef = 72AC6B2D1B9B218C00F62325 /* SparkleTestCodeSignApp.dmg */; }; + 72B3DC8225E3232400131B67 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; 72C4AB7A25E0B4C500D14562 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; 72C4ABAB25E0BF1900D14562 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; 72D4DAA11AD7632900B211E2 /* SUBinaryDeltaCreate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7268AC621AD634C200C3E0C1 /* SUBinaryDeltaCreate.m */; }; @@ -2456,6 +2457,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 72B3DC8225E3232400131B67 /* SULog.m in Sources */, 61B5F93009C4CFDC00B25A18 /* main.m in Sources */, 726F2CEB1BC9C733001971A4 /* SUConstants.m in Sources */, 5A6D31EE1BF53245009C5157 /* SUFileManager.m in Sources */,