-
Notifications
You must be signed in to change notification settings - Fork 16
41 lines (34 loc) · 822 Bytes
/
emcc.yml
File metadata and controls
41 lines (34 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: EEsim EMCC Build
on:
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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: Run Docker
run: |
mkdir image
cd image
docker run -t -v $(realpath .):/mnt ngspice:eesim
- name: Inject JS
run: |
cd image
node ~/Docker/inject.js
- name: Archive Output
uses: actions/upload-artifact@v4
with:
name: EEsim output
path: image/build