mirror of
https://github.com/swift-server/swift-openapi-lambda.git
synced 2026-06-02 07:27:32 +00:00
add build on linux
This commit is contained in:
committed by
GitHub
parent
9d0173a4e6
commit
fe7fa5dcc8
@@ -1,7 +1,7 @@
|
||||
# This workflow will build a Swift project on macOS
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
|
||||
|
||||
name: macos-build
|
||||
name: swift-openapi-lambda-build
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -10,7 +10,7 @@ on:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-macos:
|
||||
|
||||
env:
|
||||
# https://github.com/actions/runner-images/tree/main/images/macos
|
||||
@@ -24,3 +24,15 @@ jobs:
|
||||
run: swift build -v
|
||||
- name: Run tests
|
||||
run: swift test -v
|
||||
|
||||
build-linux:
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: swift build -v
|
||||
- name: Run tests
|
||||
run: swift test -v
|
||||
|
||||
|
||||
Reference in New Issue
Block a user