Skip to content

Commit

Permalink
Adjust for Codemagic build env
Browse files Browse the repository at this point in the history
  • Loading branch information
vt128 committed Nov 10, 2023
1 parent 28dfd50 commit d02e880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ else ifeq ($(origin GITHUB_RUN_NUMBER), environment)
BUILD_NUM ?= gh$(GITHUB_RUN_NUMBER)
else ifeq ($(origin CI_PIPELINE_IID), environment)
BUILD_NUM ?= gl$(CI_PIPELINE_IID)
else ifeq ($(origin CM_BUILD_ID), environment)
BUILD_NUM ?= cm$(PROJECT_BUILD_NUMBER)
endif

export TZ=Asia/Shanghai
Expand Down
3 changes: 1 addition & 2 deletions codemagic.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
workflows:
build-nb1:
name: nb1 m1 build
name: build mac m1
instance_type: mac_mini_m1
max_build_duration: 10
triggering:
Expand All @@ -18,7 +18,6 @@ workflows:
environment:
xcode: 14.3
vars:
GO_VERSION: "1.18.10"
OSEXT: "macos_m1"
scripts:
- name: Go Check
Expand Down

0 comments on commit d02e880

Please sign in to comment.