Skip to content

Commit eb2eaff

Browse files
committed
Specify CircleCI macOS resource class
1 parent ceb5e01 commit eb2eaff

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,33 @@ version: 2
22
jobs:
33
build:
44
macos:
5-
xcode: '13.4.1'
5+
xcode: '14.3.1'
6+
resource_class: m4pro.medium
67
steps:
78
- checkout
9+
- run:
10+
name: Use Node.js 16
11+
command: |
12+
nvm install 16
13+
nvm alias default 16
14+
{
15+
echo 'export NVM_DIR="$HOME/.nvm"'
16+
echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"'
17+
echo 'nvm use 16 >/dev/null'
18+
} >> "$BASH_ENV"
19+
nvm use 16
20+
npm install --global yarn@1.22.19
21+
node --version
22+
yarn --version
23+
- run:
24+
name: Install native build tools
25+
command: |
26+
export HOMEBREW_NO_AUTO_UPDATE=1
27+
export HOMEBREW_NO_INSTALL_CLEANUP=1
28+
brew install automake libtool pkg-config || true
29+
echo 'export PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"' >> "$BASH_ENV"
30+
export PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"
31+
command -v aclocal
832
- run: yarn
933
- run: mkdir -p ~/reports
1034
- run: yarn lint

0 commit comments

Comments
 (0)