Fixed ACB loading for earlier versions #178
This file contains hidden or 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
| name: Build and run tests | |
| on: [ push, pull_request ] | |
| jobs: | |
| macos_tests: | |
| name: Unit tests on macOS | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build -v -c release | |
| - name: Run tests | |
| run: swift test -v -c release | |
| ios_tests: | |
| name: Unit tests on iOS | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run tests on iOS | |
| run: xcodebuild -scheme ColorPaletteCodable-Package test -destination "platform=iOS Simulator,name=iPhone SE (3rd generation),OS=latest" | |
| ubuntu_tests: | |
| name: Unit tests on Ubuntu | |
| runs-on: ubuntu-latest | |
| container: | |
| image: swift:latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: swift build -v -c release | |
| - name: Run tests | |
| run: swift test -v -c release | |
| # build-windows: | |
| # runs-on: windows-latest | |
| # steps: | |
| # - uses: compnerd/gha-setup-swift@main | |
| # with: | |
| # branch: swift-5.10-release | |
| # tag: 5.10-RELEASE | |
| # - uses: actions/checkout@v4 | |
| # - name: Build | |
| # run: swift build -v | |
| # - name: Build | |
| # run: swift test -v |