feat: support linuxbrew installed zlib headers #124
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
macOS: | |
name: Test on macOS | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_16.0.app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Show environments | |
run: | | |
swift --version | |
xcodebuild -version | |
- name: Lint Swift | |
run: | | |
if [[ ! -f "/usr/local/bin/swiftlint" ]]; then | |
brew install swiftlint | |
fi | |
swiftlint | |
- name: Build & test SwiftPM | |
run: | | |
swift build | |
swift test --enable-swift-testing | |
linux: | |
runs-on: ubuntu-latest | |
container: swift:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Unit Test | |
run: swift test --enable-swift-testing |