-
Notifications
You must be signed in to change notification settings - Fork 19
43 lines (39 loc) · 1.06 KB
/
windows-msys2-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
name: windows-msys2-64bit
on: [push]
jobs:
build:
runs-on: [windows-latest]
steps:
- uses: actions/checkout@main
- name: clean
run: |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%
make clean
shell: cmd
- name: build
run: |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%
make -j 4
make -j 4 shared
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: admb_msys2
path: build\\admb
- name: gtests
run: |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%
make --directory=tests\\gtests
shell: cmd
- name: tests
run: |
set PATH=C:\PortableGit\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%
make --directory=tests examples
make --directory=tests outputs.txt
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: outputs
path: outputs.txt