-
Notifications
You must be signed in to change notification settings - Fork 4
68 lines (58 loc) · 1.83 KB
/
msys2.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Windows-Msys2
on:
workflow_dispatch:
push:
paths:
- 'src/**'
- 'test/**'
- '.github/workflows/msys2.yml'
- premake5.lua
jobs:
build:
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
make
python3
mingw-w64-x86_64-clang
mingw-w64-x86_64-llvm
- uses: Jarod42/install-premake5@v1
- uses: actions/checkout@v4
with:
submodules: recursive
- name: premake gmake2
run: |
premake5.exe gmake2 --without-tinfo #--llvm-root=
- name: make config=release
shell: msys2 {0}
run: |
cd project/gmake2
make config=release verbose=1
cd ../../bin/gmake2/Release
./ccccc_test
./ccccc --version
./ccccc --help
- name: Upload ccccc
uses: actions/upload-artifact@v4
with:
name: ccccc
path: |
bin/gmake2/Release/*.*
- name: Upload dll
uses: actions/upload-artifact@v4
with:
name: ccccc_dll
path: |
D:/a/_temp/msys64/mingw64/bin/libffi-*.dll # libffi-8.dll
D:/a/_temp/msys64/mingw64/bin/libgcc_s_seh-*.dll # libgcc_s_seh-1.dll
D:/a/_temp/msys64/mingw64/bin/libiconv-*.dll # libiconv-2.dll
D:/a/_temp/msys64/mingw64/bin/libLLVM-*.dll # libLLVM-18.dll
D:/a/_temp/msys64/mingw64/bin/liblzma-*.dll # liblzma-5.dll
D:/a/_temp/msys64/mingw64/bin/libstdc++-*.dll # libstdc++-6.dll
D:/a/_temp/msys64/mingw64/bin/libwinthread-*.dll # libwinthread-1.dll
D:/a/_temp/msys64/mingw64/bin/libxml2-*.dll # libxml2-2.dll
D:/a/_temp/msys64/mingw64/bin/libzstd.dll
D:/a/_temp/msys64/mingw64/bin/zlib1.dll