Skip to content

Commit 18c78db

Browse files
Add regular build action check (#2744)
Also add badge for overall application build status
1 parent e83cbd1 commit 18c78db

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build GitUp
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
name: Build GitUp Application
18+
runs-on: macos-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
with:
24+
submodules: true
25+
26+
- name: Select Xcode version
27+
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
28+
29+
- name: Show Xcode version
30+
run: xcodebuild -version
31+
32+
- name: Build GitUp
33+
working-directory: GitUp
34+
run: |
35+
xcodebuild build \
36+
-scheme "Application" \
37+
-configuration "Release" \
38+
CODE_SIGN_IDENTITY="" \
39+
CODE_SIGNING_REQUIRED=NO \
40+
CODE_SIGNING_ALLOWED=NO
41+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![GitUp](https://github.com/git-up/GitUp/actions/workflows/build.yml/badge.svg)](https://github.com/git-up/GitUp/actions/workflows/build.yml)
12
[![GitUpKit Tests](https://github.com/git-up/GitUp/actions/workflows/test.yml/badge.svg)](https://github.com/git-up/GitUp/actions/workflows/test.yml)
23

34
GitUp

0 commit comments

Comments
 (0)