-
Notifications
You must be signed in to change notification settings - Fork 19
54 lines (50 loc) · 1.19 KB
/
windows-rtools42-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
54
name: windows-rtools42-64bit
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: 'release'
rtools-version: '42'
windows-path-include-rtools: true
update-rtools: true
- name: clean
run: |
utilities\make clean SHELL=
shell: cmd
- name: build
run: |
utilities\make -j 4 SHELL=
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: admb_rtools42
path: build\\admb
- name: debug
run: |
utilities\make -j 4 DEBUG=yes SHELL=
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: admb_rtools42_debug
path: build\\admb
- name: gtests
run: |
utilities\\make --directory=tests\\gtests
shell: cmd
- name: tests
run: |
utilities\\make --directory=tests examples
utilities\\make --directory=tests outputs.txt
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: outputs
path: outputs.txt