Original commit: cd8c0090a3
This commit is contained in:
Adam Obuchowicz 2020-05-12 12:18:32 +02:00 committed by GitHub
parent 97c3500782
commit 619249f061
3 changed files with 2 additions and 44 deletions

View File

@ -81,45 +81,3 @@ jobs:
with: with:
name: Enso IDE (macOS, app) name: Enso IDE (macOS, app)
path: dist/client/mac/Enso Studio.app path: dist/client/mac/Enso Studio.app
build-fm:
name: Build File Manager Server Mock
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2019-11-04
override: true
- name: Build File Manager Server
working-directory: src/rust
run: cargo build --release --bin file-manager-server
- name: Upload Artifacts (Ubuntu)
uses: actions/upload-artifact@v1
with:
name: File Manager Server (Linux)
path: src/rust/target/release/file-manager-server
if: matrix.os == 'ubuntu-latest'
- name: Upload Artifacts (macOS)
uses: actions/upload-artifact@v1
with:
name: File Manager Server (macOS)
path: src/rust/target/release/file-manager-server
if: matrix.os == 'macos-latest'
- name: Upload Artifacts (Ubuntu)
uses: actions/upload-artifact@v1
with:
name: File Manager Server (Windows)
path: src/rust/target/release/file-manager-server.exe
if: matrix.os == 'windows-latest'

View File

@ -51,7 +51,7 @@ jobs:
node-version: '12.16.1' node-version: '12.16.1'
- name: Build - name: Build
run: node ./run build --dev run: node ./run build
check: check:

View File

@ -127,7 +127,7 @@ commands.build.rust = async function(argv) {
console.log('Checking the resulting WASM size.') console.log('Checking the resulting WASM size.')
let stats = fss.statSync(paths.dist.wasm.mainOptGz) let stats = fss.statSync(paths.dist.wasm.mainOptGz)
let limit = 2.8 let limit = 2.9
let size = Math.round(100 * stats.size / 1024 / 1024) / 100 let size = Math.round(100 * stats.size / 1024 / 1024) / 100
if (size > limit) { if (size > limit) {
throw(`Output file size exceeds the limit (${size}MB > ${limit}MB).`) throw(`Output file size exceeds the limit (${size}MB > ${limit}MB).`)