Skip to content

Commit

Permalink
Fix build action
Browse files Browse the repository at this point in the history
  • Loading branch information
theboringhumane committed Sep 9, 2024
1 parent 51eb897 commit c74038b
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 31 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build for macos  platform

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
schedule:
- cron: 0 0 * * *

# https://stackoverflow.com/a/72408109/6942800
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build_and_test:
name: ${{ matrix.command }} on  ${{ matrix.platform }} (xcode ${{ matrix.xcode }}, ${{ matrix.macos }})
runs-on: ${{ matrix.macos }}
strategy:
fail-fast: false
matrix:
macos: ['macos-14']
xcode: ['15.4']
scheme: ['TheBoringWorker']
command: ['build']
platform: ['macOS']
swift: ['5.10']
steps:
- name: Switch xcode to ${{ matrix.xcode }}
uses: maxim-lobanov/[email protected]
with:
xcode-version: ${{ matrix.xcode }}
- name: Double-check macOS version (${{ matrix.macos }})
run: sw_vers
- name: Code Checkout
uses: actions/checkout@v2
- name: Check xcodebuild version
run: xcodebuild -version
- name: Check xcode embedded SDKs
run: xcodebuild -showsdks
- name: Show buildable schemes
run: xcodebuild -list
- name: Show eligible build destinations for ${{ matrix.scheme }}
run: xcodebuild -showdestinations -scheme ${{ matrix.scheme }}
- uses: mxcl/[email protected]
with:
platform: ${{ matrix.platform }}
scheme: ${{ matrix.scheme }}
action: ${{ matrix.command }}
code-coverage: true
verbosity: xcpretty
upload-logs: always
30 changes: 0 additions & 30 deletions .github/workflows/objective-c-xcode.yml

This file was deleted.

2 changes: 2 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# TheBoringWorker Documentation

![TheBoringWorkerNotifier Build & Test](https://github.com/TheBoredTeam/TheBoringWorker/actions/workflows/cicd.yml/badge.svg)

## Overview

`TheBoringWorker` is a Swift-based macOS application designed to interface with the `boring.notch` service. It communicates using macOS Distributed Notification Center to send and receive notifications. `TheBoringWorker` sends data and notifications to `boring.notch`, which handles UI integration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>TheBoringWorker.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
Expand Down

0 comments on commit c74038b

Please sign in to comment.