From 59c0406d186bd5e0fefd7dbcc45c8552d2e4f362 Mon Sep 17 00:00:00 2001 From: Zhen Li <45376537+li3zhen1@users.noreply.github.com> Date: Thu, 21 Mar 2024 15:29:49 -0400 Subject: [PATCH] Create CI.yml --- .github/workflows/CI.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..4148268 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + pull_request: + +jobs: + Xcode: + strategy: + matrix: + env: + - platform: macOS + destination: "platform=macOS" + action: test + runs-on: macOS-latest + env: + ACTION: ${{ matrix.env.action }} + DESTINATION: ${{ matrix.env.destination }} + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Xcode Version + run: xcodebuild -version + - name: Build and Test + run: xcodebuild test -scheme Grape-Package -destination "$DESTINATION" | xcpretty