pull/3668/head
filip mertens 2 years ago
parent a4e58ed962
commit 78e0bc7631
  1. 4
      .circleci/config.yml
  2. 5
      apps/remix-ide/ci/download_e2e_assets.js

@ -34,6 +34,7 @@ jobs:
NX_BIN_URL=http://127.0.0.1:8080/assets/js NX_WASM_URL=http://127.0.0.1:8080/assets/js NPM_URL=http://localhost:9090/ yarn build
fi
- run: yarn run build:e2e
- run: yarn run downloadsolc_assets_e2e
- run: mkdir persist && zip -0 -r persist/dist.zip dist
- persist_to_workspace:
root: .
@ -155,7 +156,7 @@ jobs:
at: .
- run: unzip ./persist/dist.zip
- run: yarn install --cwd ./apps/remix-ide-e2e --modules-folder ../../node_modules
- run: yarn run downloadsolc_assets_e2e
- run: ls -la ./dist/apps/remix-ide/assets/js
- run: yarn run selenium-install || yarn run selenium-install
- run:
@ -202,7 +203,6 @@ jobs:
- run: unzip ./persist/dist.zip
- run: unzip ./persist/plugin-<< parameters.plugin >>.zip
- run: yarn install --cwd ./apps/remix-ide-e2e --modules-folder ../../node_modules
- run: yarn run downloadsolc_assets_e2e
- run: yarn run selenium-install || yarn run selenium-install
- run:
name: Start Selenium

@ -6,6 +6,7 @@ let url = 'https://binaries.soliditylang.org/wasm/list.json'
const axios = require('axios')
// use axios to download the file
/*
axios({
url: url,
method: 'GET',
@ -38,16 +39,18 @@ axios({
}
}
)
*/
fs.readdirSync(testFolder).forEach(file => {
let c = fs.readFileSync(testFolder + file, 'utf8');
const re = /(?<=soljson).*(?=(.js))/g;
const soljson = c.match(re);
if (soljson) {
console.log(soljson)
for (let i = 0; i < soljson.length; i++) {
const version = soljson[i];
if (version && version.indexOf('nightly') > -1) {
if (version) {
const url = `https://solc-bin.ethereum.org/bin/soljson${version}.js`;
console.log(url)

Loading…
Cancel
Save