mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-24 23:45:18 +00:00
Set up CI using GitHub Actions
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
name: Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: macos-15
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Xcode
|
||||||
|
uses: maxim-lobanov/setup-xcode@v1
|
||||||
|
with:
|
||||||
|
xcode-version: "16.4"
|
||||||
|
- name: XcodeGen
|
||||||
|
uses: xavierLowmiller/xcodegen-action@1.2.4
|
||||||
|
with:
|
||||||
|
spec: project.yml
|
||||||
|
version: 2.43.0
|
||||||
|
- name: Run iOS tests
|
||||||
|
run: |
|
||||||
|
set -o pipefail && xcodebuild test \
|
||||||
|
-scheme bitchatTests_iOS \
|
||||||
|
-destination "platform=iOS Simulator,name=iPhone 16" | xcpretty
|
||||||
Reference in New Issue
Block a user