Trying intel macos separately

This commit is contained in:
Maurício Szabo 2022-10-25 12:16:01 -03:00 committed by Maurício Szabo
parent 84ca9964b7
commit 8880cb9bc8

View File

@ -67,7 +67,13 @@ silicon_mac_task:
- yarn dist || yarn dist
binary_artifacts:
path: ./binaries/*
build_x86_dependencies_script:
intel_mac_task:
alias: mac
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
memory: 8G
test_script:
- echo A | softwareupdate --install-rosetta
- arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- export PATH="/usr/local/bin:$PATH"
@ -77,10 +83,16 @@ silicon_mac_task:
- ln -s /usr/local/opt/python3 /usr/local/bin/python
- arch -x86_64 npx yarn install || arch -x86_64 npx yarn install
- arch -x86_64 npx yarn build
- arch -x86_64 npx yarn run build:apm
- arch -x86_64 yarn run build:apm
- PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml arch -x86_64 npx playwright test --reporter=junit,list
always:
videos_artifacts:
path: ./tests/videos/**
junit_artifacts:
path: report.xml
type: text/xml
format: junit
dist_x86_binary_script:
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- sudo rm -rf /Library/Developer/CommandLineTools
- arch -x86_64 xcode-select --install
- arch -x86_64 npx yarn dist || arch -x86_64 npx yarn dist
binary_artifacts: