Skip to content

Commit d51574a

Browse files
committed
FIX: Splitting SempahoreCI Setup/Build Blocks as Suggested
1 parent c14911d commit d51574a

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.semaphore/semaphore.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,34 @@ agent:
55
type: a1-standard-4
66
os_image: macos-mojave-xcode11
77
blocks:
8-
- name: macOS Builds
8+
- name: macOS Setup
99
task:
1010
jobs:
11-
- name: calculator_simple
11+
- name: pre_build_setup
1212
commands:
13+
- cache restore
1314
- brew install make
1415
- brew install gcc
1516
- brew install gtk+3
1617
- brew install gtkmm3
18+
- brew install cairomm
19+
- cache store
20+
- name: macOS Builds
21+
task:
22+
jobs:
23+
- name: calculator_simple
24+
commands:
1725
- checkout
26+
- cache restore
27+
- brew list
1828
- ls -alF
1929
- cd ./calculator_simple/build/macos/
2030
- gmake
2131
- name: test_install
2232
commands:
23-
- brew install make
24-
- brew install gcc
25-
- brew install gtk+3
26-
- brew install gtkmm3
2733
- checkout
34+
- cache restore
35+
- brew list
2836
- ls -alF
2937
- cd ./calculator_simple/build/macos/
3038
- gmake

0 commit comments

Comments
 (0)