Skip to content

Commit

Permalink
Merge pull request #11 from Darock-Studio/main
Browse files Browse the repository at this point in the history
Merge main to NetworkFix
  • Loading branch information
WindowsMEMZ authored Nov 18, 2023
2 parents e610eea + 161cf60 commit b92247c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,18 @@ jobs:
run: |
xcodebuild -scheme 'DarockBili Watch App' -configuration Debug -archivePath DarockBili_Debug.xcarchive clean archive CODE_SIGN_IDENTITY=""
xcodebuild -scheme 'DarockBili Watch App' -configuration Release -archivePath DarockBili_Release.xcarchive clean archive CODE_SIGN_IDENTITY=""
- name: Export IPA
run: |
mkdir ./Export_Debug
mkdir ./Export_Release
xcodebuild -exportArchive -archivePath DarockBili_Debug.xcarchive -exportPath ./Export_Debug -exportOptionsPlist ExportOptions.plist
xcodebuild -exportArchive -archivePath DarockBili_Release.xcarchive -exportPath ./Export_Release -exportOptionsPlist ExportOptions.plist
- name: Upload Debug IPA
- name: Upload Debug Archive
uses: actions/upload-artifact@v3
with:
name: Debug.ipa
path: ./Export_Debug/DarockBili.ipa
name: Debug XCArchive
path: ./DarockBili_Debug.xcarchive

- name: Upload Release IPA
- name: Upload Release Archive
uses: actions/upload-artifact@v3
with:
name: Release.ipa
path: ./Export_Release/DarockBili.ipa
name: Release XCArchive
path: ./DarockBili_Release.xcarchive

build_for_testing:
runs-on: macos-13
Expand Down Expand Up @@ -74,5 +67,3 @@ jobs:
with:
name: Test Attachments
path: ./Caches/DerivedData/Logs/Test


Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
//
// Created by WindowsMEMZ on 2023/7/27.
//
//===----------------------------------------------------------------------===//
//
// This source file is part of the MeowBili open source project
//
// Copyright (c) 2023 Darock Studio and the MeowBili project authors
// Licensed under GNU General Public License v3
//
// See https://darock.top/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//

import XCTest

Expand All @@ -26,7 +36,7 @@ final class DarockBili_Watch_App_UI_Tests: XCTestCase {
// UI tests must launch the application that they test.
let app = XCUIApplication()
app.launch()

sleep(2)
takeScreenshot(of: app, named: "Launch")
app.buttons["SuggestVideo"].firstMatch.tap()
sleep(1)
Expand Down

0 comments on commit b92247c

Please sign in to comment.