Update package manifest for swift 5.6 and latest BlueSocket & Libssh2… #8
This file contains 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: Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macOS-latest] | |
swift: [5.4] | |
runs-on: ${{ matrix.os }} | |
env: | |
SWIFT_VERSION: ${{ matrix.swift }} | |
SWIFT_EXEC: .swiftenv/shims/swift | |
PKG_CONFIG_PATH: /usr/local/Cellar/[email protected]/1.1.1g/lib/pkgconfig | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install swift | |
run: | | |
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv | |
~/.swiftenv/bin/swiftenv install "$SWIFT_VERSION" || true | |
~/.swiftenv/bin/swiftenv rehash | |
- name: Build | |
run: | | |
brew install libssh2 | |
brew install pkg-config | |
~/$SWIFT_EXEC --version | |
~/$SWIFT_EXEC build |