Skip to content

Commit

Permalink
danthorpe/ci (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: danthorpe <[email protected]>
  • Loading branch information
danthorpe and danthorpe authored May 18, 2024
1 parent ba23b89 commit 810323d
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 127 deletions.
65 changes: 0 additions & 65 deletions .github/workflows/docs.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI/CD

on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ci/cd-${{ github.ref }}
cancel-in-progress: true

jobs:
swift-package-test:
name: Test Swift Package
uses: danthorpe/ci/.github/workflows/swift-package.yml@main
secrets: inherit
with:
matrix: >
{
"include": [
{
"os": "macos-14",
"swift": "5.9",
"xcode": "15.1"
},
{
"os": "macos-14",
"swift": "5.10",
"xcode": "15.3"
}
]
}
docs:
name: Docs
if: github.event_name == 'push'
needs: [swift-package-test]
uses: danthorpe/ci/.github/workflows/docs.yml@main
with:
os: 'macos-14'
targets: '["Networking"]'
basepath: 'swift-networking'
33 changes: 0 additions & 33 deletions .github/workflows/tests.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .scripts/ci-test.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .scripts/format-source-code

This file was deleted.

21 changes: 0 additions & 21 deletions Makefile

This file was deleted.

0 comments on commit 810323d

Please sign in to comment.