pull/5200/head
bunsenstraat 2 months ago
parent 241e2e1f26
commit 53b0a0ac85
  1. 34
      .circleci/config.yml

@ -198,8 +198,8 @@ jobs:
- run: - run:
command: | command: |
nvm install 21 nvm install 20.2
nvm use 21 nvm use 20.2
node -v node -v
npx -v npx -v
npm install --global yarn npm install --global yarn
@ -252,8 +252,8 @@ jobs:
- run: - run:
command: | command: |
nvm install 21 nvm install 20.2
nvm use 21 nvm use 20.2
node -v node -v
npx -v npx -v
npm install --global yarn npm install --global yarn
@ -271,7 +271,7 @@ jobs:
mkdir apps/remixdesktop/build mkdir apps/remixdesktop/build
cp -r dist/apps/remix-ide apps/remixdesktop/build cp -r dist/apps/remix-ide apps/remixdesktop/build
cd apps/remixdesktop/ cd apps/remixdesktop/
nvm use 21 nvm use 20.2
node -v node -v
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install setuptools pip install setuptools
@ -437,14 +437,14 @@ jobs:
- run: - run:
command: | command: |
ls -la dist/apps/remix-ide ls -la dist/apps/remix-ide
nvm install 22 nvm install 20.2
nvm use 22 nvm use 20.2
- restore_cache: - restore_cache:
keys: keys:
- remixdesktop-deps-mac-{{ checksum "apps/remixdesktop/yarn.lock" }} - remixdesktop-deps-mac-{{ checksum "apps/remixdesktop/yarn.lock" }}
- run: - run:
command: | command: |
nvm use 22 nvm use 20.2
cd apps/remixdesktop cd apps/remixdesktop
yarn || yarn yarn || yarn
find ./node_modules find ./node_modules
@ -456,14 +456,14 @@ jobs:
# use USE_HARD_LINK=false https://github.com/electron-userland/electron-builder/issues/3179 # use USE_HARD_LINK=false https://github.com/electron-userland/electron-builder/issues/3179
- run: - run:
command: | command: |
nvm use 22 nvm use 20.2
mkdir apps/remixdesktop/build mkdir apps/remixdesktop/build
cp -r dist/apps/remix-ide apps/remixdesktop/build cp -r dist/apps/remix-ide apps/remixdesktop/build
cd apps/remixdesktop cd apps/remixdesktop
yarn yarn
- run: - run:
command: | command: |
nvm use 22 nvm use 20.2
cd apps/remixdesktop cd apps/remixdesktop
yarn installRipGrepMacOX<< parameters.arch >> yarn installRipGrepMacOX<< parameters.arch >>
PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false ./rundist.bash --<< parameters.arch >> PUBLISH_FOR_PULL_REQUEST='false' USE_HARD_LINKS=false ./rundist.bash --<< parameters.arch >>
@ -507,14 +507,14 @@ jobs:
- run: - run:
command: | command: |
ls -la dist/apps/remix-ide ls -la dist/apps/remix-ide
nvm install 22 nvm install 20.2
nvm use 22 nvm use 20.2
- restore_cache: - restore_cache:
keys: keys:
- remixdesktop-deps-mac-{{ checksum "apps/remixdesktop/yarn.lock" }} - remixdesktop-deps-mac-{{ checksum "apps/remixdesktop/yarn.lock" }}
- run: - run:
command: | command: |
nvm use 22 nvm use 20.2
cd apps/remixdesktop cd apps/remixdesktop
yarn || yarn yarn || yarn
yarn add @remix-project/remix-ws-templates yarn add @remix-project/remix-ws-templates
@ -524,14 +524,14 @@ jobs:
- apps/remixdesktop/node_modules - apps/remixdesktop/node_modules
- run: - run:
command: | command: |
nvm use 22 nvm use 20.2
mkdir apps/remixdesktop/build mkdir apps/remixdesktop/build
cp -r dist/apps/remix-ide apps/remixdesktop/build cp -r dist/apps/remix-ide apps/remixdesktop/build
cd apps/remixdesktop cd apps/remixdesktop
yarn yarn
- run: - run:
command: | command: |
nvm use 22 nvm use 20.2
cd apps/remixdesktop cd apps/remixdesktop
yarn installRipGrepMacOXarm64 yarn installRipGrepMacOXarm64
PUBLISH_FOR_PULL_REQUEST='false' DO_NOT_NOTARIZE='true' USE_HARD_LINKS=false ./rundist.bash --arm64 PUBLISH_FOR_PULL_REQUEST='false' DO_NOT_NOTARIZE='true' USE_HARD_LINKS=false ./rundist.bash --arm64
@ -539,13 +539,13 @@ jobs:
- run: - run:
name: "Run tests" name: "Run tests"
command: | command: |
nvm use 22 nvm use 20.2
cd apps/remixdesktop cd apps/remixdesktop
./run_ci_test.sh ./run_ci_test.sh
- run: - run:
name: "Run isogit tests" name: "Run isogit tests"
command: | command: |
nvm use 22 nvm use 20.2
cd apps/remixdesktop cd apps/remixdesktop
./run_git_ui_isogit_tests.sh ./run_git_ui_isogit_tests.sh
- store_test_results: - store_test_results:

Loading…
Cancel
Save