Skip to content

Update package manifest for swift 5.6 and latest BlueSocket & Libssh2… #8

Update package manifest for swift 5.6 and latest BlueSocket & Libssh2…

Update package manifest for swift 5.6 and latest BlueSocket & Libssh2… #8

Workflow file for this run

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