-
Notifications
You must be signed in to change notification settings - Fork 70
39 lines (33 loc) · 922 Bytes
/
u2004.yml
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
name: Ubuntu2004
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: ls
run: ls -la ${{github.workspace}}
- name: Install deps
run: sudo apt install -y swig autoconf automake build-essential python3-pip python3-numpy
- name: Configure
run: |
cd ${{github.workspace}}
./autogen.sh
./configure --without-mpi
- name: Build
run: |
make
make python3_wheel
ls -la ${{github.workspace}}/src/Python/dist/
- uses: actions/upload-artifact@v2
with:
name: libsomoclu.so
path: ${{github.workspace}}/src/libsomoclu.so
- uses: actions/upload-artifact@v2
with:
name: python_dist_wheel
path: ${{github.workspace}}/src/Python/dist/