Skip to content

Commit

Permalink
Merge pull request #7 from YOCKOW/development
Browse files Browse the repository at this point in the history
Confirm compatibility with Swift 5.4.
  • Loading branch information
YOCKOW authored May 9, 2021
2 parents 4b1cd83 + da2ee92 commit 8e4de4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 43 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,24 @@ jobs:
build-${{ github.workspace }}-
- uses: YOCKOW/Action-setup-swift@master
with:
swift-version: '5.3'

swift-version: '5.4'
# DEBUG mode
- name: Try to build products with debug mode.
id: debug_build
run: swift build --configuration debug -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
continue-on-error: true
- name: Clean debug build directory if necessary
if: failure()
if: steps.debug_build.outcome == 'failure'
run: rm -rf $(cd .build/debug && pwd -P)
- name: Check XCTestManifests.swift
if: runner.os == 'macOS'
run: |
swift test --generate-linuxmain -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
git diff --exit-code
- name: Test with debug mode.
run: swift test --configuration debug -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}

# RELEASE mode
- name: Try to build products with release mode.
id: release_build
run: swift build --configuration release -Xswiftc -enable-testing -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
continue-on-error: true
- name: Clean release build directory if necessary
if: failure()
if: steps.release_build.outcome == 'failure'
run: rm -rf $(cd .build/release && pwd -P)
- name: Test with release mode.
run: swift test --configuration release -Xswiftc -enable-testing -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
8 changes: 0 additions & 8 deletions Tests/LinuxMain.swift

This file was deleted.

25 changes: 0 additions & 25 deletions Tests/TimeSpecificationTests/XCTestManifests.swift

This file was deleted.

0 comments on commit 8e4de4e

Please sign in to comment.