Skip to content

docs(patch): Update README.md #68

docs(patch): Update README.md

docs(patch): Update README.md #68

name: Swift Linux build
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
swift: ["5.7", "5.8"]
runs-on: ${{ matrix.os }}
steps:
- uses: fwal/[email protected]
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v3
- name: Ubuntu deps
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get install -y libjemalloc-dev
- name: Swift version
run: swift --version
- name: Build
run: swift build
- name: Run tests
run: |
[ -d Tests ] && swift test --parallel