From 4fa6bcda8612c131e521467ffa7e7195f6ff1ce3 Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Tue, 13 Aug 2024 11:49:52 -0400 Subject: [PATCH] debugging --- .github/actions/ci/action.yml | 73 ++++++++++++++++---------------- .github/workflows/ci.yml | 78 +++++++++++++++++------------------ 2 files changed, 77 insertions(+), 74 deletions(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index f3125ef..9668586 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -31,41 +31,44 @@ runs: shell: bash run: gem install cocoapods - - name: Lint the podspec - shell: bash - run: pod spec lint LDSwiftEventSource.podspec - - - name: Build & Test on macOS Simulator - shell: bash - run: xcodebuild test -scheme 'LDSwiftEventSource' -sdk macosx -destination 'platform=macOS' | xcpretty - - - name: Build for ARM64 macOS - shell: bash - run: xcodebuild build -scheme 'LDSwiftEventSource' -arch arm64e -sdk macosx | xcpretty - - - name: Build Tests for iOS device - shell: bash - run: xcodebuild build-for-testing -scheme 'LDSwiftEventSource' -sdk iphoneos CODE_SIGN_IDENTITY= | xcpretty - - - name: Build & Test on iOS Simulator - shell: bash - run: xcodebuild test -scheme 'LDSwiftEventSource' -sdk iphonesimulator -destination '${{ inputs.ios-sim }}' CODE_SIGN_IDENTITY= | xcpretty - - - name: Build Tests for tvOS device - shell: bash - run: xcodebuild build-for-testing -scheme 'LDSwiftEventSource' -sdk appletvos CODE_SIGN_IDENTITY= | xcpretty - - - name: Build & Test on tvOS Simulator - shell: bash - run: xcodebuild test -scheme 'LDSwiftEventSource' -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV' | xcpretty - - - name: Build for watchOS simulator # No XCTest testing on watchOS - shell: bash - run: xcodebuild build -scheme 'LDSwiftEventSource' -sdk watchsimulator | xcpretty - - - name: Build for watchOS device # No XCTest testing on watchOS - shell: bash - run: xcodebuild build -scheme 'LDSwiftEventSource' -sdk watchos | xcpretty + # - name: Lint the podspec + # shell: bash + # run: pod spec lint LDSwiftEventSource.podspec + # + # - name: Build & Test on macOS Simulator + # shell: bash + # run: xcodebuild test -scheme 'LDSwiftEventSource' -sdk macosx -destination 'platform=macOS' | xcpretty + # + # - name: Build for ARM64 macOS + # shell: bash + # run: xcodebuild build -scheme 'LDSwiftEventSource' -arch arm64e -sdk macosx | xcpretty + # + # - name: Build Tests for iOS device + # shell: bash + # run: xcodebuild build-for-testing -scheme 'LDSwiftEventSource' -sdk iphoneos CODE_SIGN_IDENTITY= | xcpretty + # + # - name: Build & Test on iOS Simulator + # shell: bash + # run: xcodebuild test -scheme 'LDSwiftEventSource' -sdk iphonesimulator -destination '${{ inputs.ios-sim }}' CODE_SIGN_IDENTITY= | xcpretty + # + # - name: Build Tests for tvOS device + # shell: bash + # run: xcodebuild build-for-testing -scheme 'LDSwiftEventSource' -sdk appletvos CODE_SIGN_IDENTITY= | xcpretty + # + # - name: Build & Test on tvOS Simulator + # shell: bash + # run: xcodebuild test -scheme 'LDSwiftEventSource' -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV' | xcpretty + # + # - name: Build for watchOS simulator # No XCTest testing on watchOS + # shell: bash + # run: xcodebuild build -scheme 'LDSwiftEventSource' -sdk watchsimulator | xcpretty + # + # - name: Build for watchOS device # No XCTest testing on watchOS + # shell: bash + # run: xcodebuild build -scheme 'LDSwiftEventSource' -sdk watchos | xcpretty + + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 - name: Build & Test with swiftpm shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fc2f6a..601b633 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,12 @@ jobs: - xcode-version: 15.0.1 ios-sim: 'platform=iOS Simulator,name=iPhone 17,OS=17.0' os: macos-13 - - xcode-version: 14.3.1 - ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4' - os: macos-13 - - xcode-version: 13.4.1 - ios-sim: 'platform=iOS Simulator,name=iPhone 11,OS=15.5' - os: macos-12 + # - xcode-version: 14.3.1 + # ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4' + # os: macos-13 + # - xcode-version: 13.4.1 + # ios-sim: 'platform=iOS Simulator,name=iPhone 11,OS=15.5' + # os: macos-12 steps: - uses: actions/checkout@v4 @@ -40,36 +40,36 @@ jobs: - uses: ./.github/actions/build-docs - linux-build: - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - swift-version: - - 5.7 - - 5.8 - - 5.9 - - container: swift:${{ matrix.swift-version }} - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # If you only need the current version keep this. - - - name: Build and test - run: swift test --enable-test-discovery - - windows-build: - name: Windows - Swift 5.9 - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - name: Install Swift - uses: compnerd/gha-setup-swift@cd348eb89f2f450b0664c07fb1cb66880addf17d - with: - branch: swift-5.9-release - tag: 5.9-RELEASE - - name: Build and test - run: swift test + # linux-build: + # runs-on: ubuntu-latest + # + # strategy: + # fail-fast: false + # matrix: + # swift-version: + # - 5.7 + # - 5.8 + # - 5.9 + # + # container: swift:${{ matrix.swift-version }} + # + # steps: + # - uses: actions/checkout@v4 + # with: + # fetch-depth: 0 # If you only need the current version keep this. + # + # - name: Build and test + # run: swift test --enable-test-discovery + # + # windows-build: + # name: Windows - Swift 5.9 + # runs-on: windows-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Install Swift + # uses: compnerd/gha-setup-swift@cd348eb89f2f450b0664c07fb1cb66880addf17d + # with: + # branch: swift-5.9-release + # tag: 5.9-RELEASE + # - name: Build and test + # run: swift test