Skip to content

Commit

Permalink
Update emcc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danchitnis authored Dec 24, 2023
1 parent a8a9d1b commit 7559e59
Showing 1 changed file with 27 additions and 33 deletions.
60 changes: 27 additions & 33 deletions .github/workflows/emcc.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,41 @@
name: EEsim EMCC Build

on:
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
description: "Log level"
required: true
default: 'warning'


jobs:
default: "warning"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '15'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Build the Docker image
run: |
cd ./Docker
docker build -t ngspice:eesim .
- name: Build the Docker image
run: |
cd ./Docker
docker build -t ngspice:eesim .
- name: Run Docker
run: |
mkdir image
cd image
docker run -t -v $(realpath .):/mnt ngspice:eesim
- name: Run Docker
run: |
mkdir image
cd image
docker run -t -v $(realpath .):/mnt ngspice:eesim
- name: Inject JS
run: |
yarn install
cd image
node ~/Docker/inject.js
- name: Inject JS
run: |
cd image
node ~/Docker/inject.js
- name: Archive Output
uses: actions/upload-artifact@v2
with:
name: EEsim output
path: image/build
- name: Archive Output
uses: actions/upload-artifact@v4
with:
name: EEsim output
path: image/build

0 comments on commit 7559e59

Please sign in to comment.