-
Notifications
You must be signed in to change notification settings - Fork 19
53 lines (49 loc) · 1.05 KB
/
ubuntu-64bit.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: ubuntu-64bit
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: flex
run: sudo apt-get install flex
- name: clean
run: make clean
- name: build v12
run: |
CC=gcc-12 CXX=g++-12 make
- name: build v11
run: |
CC=gcc-11 CXX=g++-11 make
- name: build v10
run: |
CC=gcc-10 CXX=g++-10 make
- name: build v9
run: |
CC=gcc-9 CXX=g++-9 make
- name: debug
run: |
make DEBUG=yes
- name: shared
run: |
make shared
- name: zip
run: |
make zip
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: admb_ubuntu_zip
path: build/admb.zip
- name: gtests
run: |
make --directory=tests/gtests
- name: tests
run: |
make --directory=tests examples
make --directory=tests outputs.txt
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: outputs
path: outputs.txt