From 34133230d49713bc3bf48218f321083e12556b92 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Mon, 22 Jul 2024 07:57:02 -0400 Subject: [PATCH] CI, readme update --- .github/FUNDING.yml | 1 + .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ README.md | 15 ++++++++++++++- 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..83e3ffb --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [mattmassicotte] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b408096 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: + - main + paths-ignore: + - 'README.md' + - 'CODE_OF_CONDUCT.md' + - '.editorconfig' + - '.spi.yml' + pull_request: + branches: + - main + +jobs: + test: + name: Test + runs-on: macos-14 + env: + DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer + strategy: + matrix: + destination: + - "platform=macOS" + - "platform=iOS Simulator,name=iPhone 15" + - "platform=tvOS Simulator,name=Apple TV" + - "platform=watchOS Simulator,name=Apple Watch Series 6 (40mm)" + - "platform=macOS,variant=Mac Catalyst" + + steps: + - uses: actions/checkout@v4 + - name: Test platform ${{ matrix.destination }} + run: set -o pipefail && xcodebuild -scheme Neon -destination "${{ matrix.destination }}" test | xcbeautify diff --git a/README.md b/README.md index 624e340..b5dee3d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +
+ +[![Build Status][build status badge]][build status] +[![Matrix][matrix badge]][matrix] + +
+ # RelativeCollections Swift collection types that support efficient storage of order-relative values @@ -121,10 +128,16 @@ Typically, when faced with this kind of problem you have to measure. Carefully. ## Contributing and Collaboration -I'd love to hear from you! Get in touch via an issue or pull request. +I would love to hear from you! Issues or pull requests work great. Both [Matrix][matrix] and [Discord][discord] are available for live help, but I have a strong bias towards answering in the form of documentation. I prefer collaboration, and would love to find ways to work together if you have a similar project. I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace. By participating in this project you agree to abide by the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). + +[build status]: https://github.com/ChimeHQ/RelativeCollections/actions +[build status badge]: https://github.com/ChimeHQ/RelativeCollections/workflows/CI/badge.svg +[matrix]: https://matrix.to/#/%23chimehq%3Amatrix.org +[matrix badge]: https://img.shields.io/matrix/chimehq%3Amatrix.org?label=Matrix +[discord]: https://discord.gg/esFpX6sErJ \ No newline at end of file