Skip to content

Commit

Permalink
Github Actions CI workflow (#538)
Browse files Browse the repository at this point in the history
* Create objective-c-xcode.yml

* Update objective-c-xcode.yml

* objective-c-xcode.yml: Update setup tools to fix pyparsing

* objective-c-xcode.yml: try fixing pyparsing directly

* objective-c-xcode.yml: use my fixed cldoc

* objective-c-xcode.yml: manually updating pyparsing was always useless
  • Loading branch information
newperson1746 committed Jan 15, 2024
1 parent 2e7c54e commit d341538
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/objective-c-xcode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Xcode - Build and Analyze

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
name: Build and analyse default scheme using xcodebuild command
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: download mackernelsdk
run: git clone https://github.com/acidanthera/MacKernelSDK

- run: src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/VoodooInput/master/VoodooInput/Scripts/bootstrap.sh) && eval "$src" && mv VoodooInput Dependencies
- run: pip3 install cpplint
- run: pip3 install git+https://github.com/newperson1746/cldoc-fix.git
- run: git submodule init && git submodule update

- name: xcodebuild
run: xcodebuild -workspace "VoodooI2C.xcworkspace" -scheme "VoodooI2C" -derivedDataPath build clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

- name: Upload to Artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/Build/Products/Release

0 comments on commit d341538

Please sign in to comment.