Skip to content

Merge pull request #163 from tuist/AutoDetect #314

Merge pull request #163 from tuist/AutoDetect

Merge pull request #163 from tuist/AutoDetect #314

Workflow file for this run

name: xcbeautify
on:
push:
branches:
- main
pull_request: {}
merge_group: {}
env:
SWIFT_VERSION: 5.7
jobs:
macos:
name: Build on macOS
runs-on: macOS-latest
steps:
- uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c
with:
swift-version: ${{ env.SWIFT_VERSION }}
- uses: actions/checkout@v4
- name: Build
run: swift build --disable-sandbox --configuration release
- name: Test
run: set -o pipefail && swift test 2>&1 | .build/release/xcbeautify
ubuntu_x86_64:
name: Build on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c
with:
swift-version: ${{ env.SWIFT_VERSION }}
- uses: actions/checkout@v4
- run: swift build
- run: set -o pipefail && swift test 2>&1 | .build/debug/xcbeautify
- run: make package-linux-x86_64