Skip to content

Fix Linux Dictionary casting #40

Fix Linux Dictionary casting

Fix Linux Dictionary casting #40

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
xcode: ["15.3", "14.3.1"]
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- name: Checkout
uses: actions/checkout@v3
- name: Build and Test
run:
xcodebuild -scheme "Expression (Mac)" -sdk macosx clean build test
- name: Codecov
uses: codecov/codecov-action@v2
with:
# the token is optional for a public repo, but including it anyway
token: f835f552-0734-4266-b5c6-0c184c368bd9
env_vars: MD_APPLE_SDK_ROOT,RUNNER_OS,RUNNER_ARCH
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
swiftver:
- swift:5.2
- swift:5.9
swiftos:
- focal
container:
image: ${{ format('{0}-{1}', matrix.swiftver, matrix.swiftos) }}
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and Test
run: swift test --enable-test-discovery