Skip to content

Make Codable

Make Codable #14

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
macOS:
# https://github.com/actions/runner-images
runs-on: macos-13
strategy:
matrix:
xcode: ['15.0', '14.3.1']
steps:
- uses: actions/checkout@v3
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Name"
- name: Get swift version
run: env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift --version
- name: Test
run: env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift test
- name: Build release
run: env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift build -c release
Linux:
# https://github.com/actions/runner-images
runs-on: ubuntu-latest
strategy:
matrix:
image: [
'swift:5.8',
'swift:5.9'
]
container:
image: ${{ matrix.image }}
steps:
- uses: actions/checkout@v3
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Name"
- name: Get swift version
run: swift --version
- name: Test
run: swift test
- name: Build release
run: swift build -c release