fix(minor): [sc-9450] Add possibility to fetch list of consumer groups. #49
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: Swift macOS build | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, next ] | |
jobs: | |
build-macos: | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-13] | |
swift: ["5.9"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: fwal/setup-swift@v1 | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Homebrew Mac | |
if: ${{ runner.os == 'Macos' }} | |
run: | | |
echo "/opt/homebrew/bin:/usr/local/bin" >> $GITHUB_PATH | |
echo BENCHMARK_DISABLE_JEMALLOC=true >> $GITHUB_ENV | |
brew install jemalloc | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Start consul | |
uses: ./.github/actions/consul-start | |
- name: Swift version | |
run: swift --version | |
- name: Build | |
run: swift build | |
- name: Run tests | |
if: ${{ false }} | |
run: | | |
if [ -d Tests ]; then | |
swift test --parallel | |
fi | |
- name: Run tests (release) | |
if: ${{ false }} | |
run: | | |
if [ -d Tests ]; then | |
swift test -c release --parallel | |
fi |