From 3c51396af7645ef7826f1011128539067b8ed605 Mon Sep 17 00:00:00 2001 From: Marco Pagliari Date: Mon, 25 Sep 2023 00:26:16 +0200 Subject: [PATCH] Add basic build and test CI configuration --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c8557b2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Xcode - Build and Test + +on: [push] + +# on: +# push: +# branches: [ "main" ] +# pull_request: +# branches: [ "main" ] + +jobs: + build: + name: 'Build and test: Debug' + runs-on: macos-13 + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Selected Xcode version + run: | + xcode-select -p + - name: Build and test + run: | + xcodebuild clean build analyze test -project ControlRoom.xcodeproj -scheme 'Debug - ControlRoom' -destination 'platform=macOS' CONFIGURATION_BUILD_DIR=$(pwd)/build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty \ No newline at end of file