|
|
|
@ -461,7 +461,54 @@ jobs: |
|
|
|
|
root: apps/remixdesktop |
|
|
|
|
paths: |
|
|
|
|
- "release" |
|
|
|
|
|
|
|
|
|
test-remixdesktop-mac: |
|
|
|
|
macos: |
|
|
|
|
xcode: 14.2.0 |
|
|
|
|
resource_class: |
|
|
|
|
macos.m1.large.gen1 |
|
|
|
|
working_directory: ~/remix-project |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- attach_workspace: |
|
|
|
|
at: . |
|
|
|
|
- run: unzip ./persist/desktopbuild.zip |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
ls -la dist/apps/remix-ide |
|
|
|
|
nvm install 20.0.0 |
|
|
|
|
nvm use 20.0.0 |
|
|
|
|
- restore_cache: |
|
|
|
|
keys: |
|
|
|
|
- remixdesktop-deps-mac-{{ checksum "apps/remixdesktop/yarn.lock" }} |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
nvm use 20.0.0 |
|
|
|
|
cd apps/remixdesktop && yarn |
|
|
|
|
yarn add @remix-project/remix-ws-templates |
|
|
|
|
- save_cache: |
|
|
|
|
key: remixdesktop-deps-mac-{{ checksum "apps/remixdesktop/yarn.lock" }} |
|
|
|
|
paths: |
|
|
|
|
- apps/remixdesktop/node_modules |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
nvm use 20 |
|
|
|
|
mkdir apps/remixdesktop/build |
|
|
|
|
cp -r dist/apps/remix-ide apps/remixdesktop/build |
|
|
|
|
cd apps/remixdesktop |
|
|
|
|
yarn |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
nvm use 20 |
|
|
|
|
cd apps/remixdesktop |
|
|
|
|
yarn installRipGrepMacOXarm64 |
|
|
|
|
PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false yarn dist --arm64 |
|
|
|
|
- run: |
|
|
|
|
name: "Run tests" |
|
|
|
|
command: | |
|
|
|
|
nvm use 20 |
|
|
|
|
cd apps/remixdesktop |
|
|
|
|
yarn run test:app:mac |
|
|
|
|
|
|
|
|
|
uploadartifacts: |
|
|
|
|
docker: |
|
|
|
|
- image: cimg/node:20.0.0-browsers |
|
|
|
@ -714,6 +761,9 @@ workflows: |
|
|
|
|
- build-remixdesktop-mac: |
|
|
|
|
requires: |
|
|
|
|
- build-desktop |
|
|
|
|
- test-remixdesktop-mac: |
|
|
|
|
requires: |
|
|
|
|
- build-desktop |
|
|
|
|
- build-remixdesktop-windows: |
|
|
|
|
requires: |
|
|
|
|
- build-desktop |
|
|
|
|