Created action for testing build
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Swift Testing
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Swift - ${{ matrix.platform }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- platform: macOS
|
||||
runner: macos-26:host
|
||||
|
||||
- platform: Windows
|
||||
runner: windows-11:host
|
||||
|
||||
- platform: Linux
|
||||
runner: ubuntu-24.04:docker://swift:6.3
|
||||
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Test
|
||||
run: swift test
|
||||
Reference in New Issue
Block a user