-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (33 loc) · 750 Bytes
/
linux.yml
File metadata and controls
42 lines (33 loc) · 750 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
42
name: Linux Build CI
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: |
cd ./linux
docker build -t ngspice:linux .
- name: Run Docker
run: |
mkdir image
cd image
docker run -t -v $(realpath .):/mnt ngspice:linux
- name: test
run: |
pwd
ls
ls image
ls image/build
- name: Archive Output
uses: actions/upload-artifact@v2
with:
name: linux output
path: image/build