Debian Codegraph @

.github/workflows/msys2.yaml

raw symbols SCIP
1 name: msys2
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7
8 jobs:
9 stock:
10 name: Stock
11 runs-on: windows-latest
12 defaults:
13 # Reduce verbosity and always run with msys2 as the default shell.
14 # See https://github.com/marketplace/actions/setup-msys2 .
15 run:
16 shell: msys2 {0}
17 steps:
18 - name: Set up prerequisites
19 uses: msys2/setup-msys2@v2
20 with:
21 update: true
22 install: >-
23 make
24 mingw-w64-x86_64-gcc
25 mingw-w64-x86_64-ncurses
26
27 - name: Clone Project
28 uses: actions/checkout@v3
29
30 - name: Build
31 run: |
32 cd src
33 make -f Makefile.msys2
34
35 sdl:
36 name: SDL2
37 runs-on: windows-latest
38 defaults:
39 # Reduce verbosity and always run with msys2 as the default shell.
40 # See https://github.com/marketplace/actions/setup-msys2 .
41 run:
42 shell: msys2 {0}
43 steps:
44 - name: Set up prerequisites
45 uses: msys2/setup-msys2@v2
46 with:
47 update: true
48 install: >-
49 make
50 mingw-w64-x86_64-gcc
51 mingw-w64-x86_64-SDL2
52 mingw-w64-x86_64-SDL2_ttf
53 mingw-w64-x86_64-SDL2_image
54 mingw-w64-x86_64-SDL2_mixer
55
56 - name: Clone Project
57 uses: actions/checkout@v3
58
59 - name: Build
60 run: |
61 cd src
62 make -f Makefile.msys2.sdl2 SOUND=yes
63
64 makefile-win:
65 name: Makefile-win
66 runs-on: windows-latest
67 defaults:
68 # Reduce verbosity and always run with msys2 as the default shell.
69 # See https://github.com/marketplace/actions/setup-msys2 .
70 run:
71 shell: msys2 {0}
72 steps:
73 - name: Set up prerequisites
74 uses: msys2/setup-msys2@v2
75 with:
76 update: true
77 # The libraries in src/win/lib and src/win/dll are 32-bit.
78 msystem: mingw32
79 install: >-
80 make
81 mingw-w64-i686-gcc
82
83 - name: Clone Project
84 uses: actions/checkout@v3
85
86 - name: Build
87 run: |
88 cd src
89 make -f Makefile.win MINGW=yes