forked from totalspectrum/spin2cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 796 Bytes
/
Copy pathc-cpp.yml
File metadata and controls
38 lines (36 loc) · 796 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
name: Spin2cpp CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: install-mingw
run: "sudo apt-get install gcc-mingw-w64-i686"
- uses: actions/checkout@v2
- name: make
run: make zip
- name: succ
run: unzip flexptools.zip -d flexptools-zip
- run: unzip spin2cpp.zip -d spin2cpp-zip
- uses: actions/upload-artifact@v2.1.3
with:
name: flexptools-git
path: "flexptools-zip/*"
- uses: actions/upload-artifact@v2.1.3
with:
name: spin2cpp-git
path: "spin2cpp-zip/*"
test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: make
run: make
- name: test
run: make test