Skip to content

Enable workflow_dispatch on CI #189

Enable workflow_dispatch on CI

Enable workflow_dispatch on CI #189

Workflow file for this run

name: TUSKit CI
on: [push, workflow_dispatch]
jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: ["macos-latest"]
swift: ["5"]
runs-on: ${{ matrix.os }}
steps:
- name: Extract Branch Name
run: echo "BRANCH=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV
- uses: fwal/setup-swift@v1.10.0
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v2
- name: Build
run: swift build -Xswiftc --disable-experimental-concurrency
- name: Run tests
run: swift test -Xswiftc --disable-experimental-concurrency