forked from ihhub/fheroes2
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (50 loc) · 1.16 KB
/
Copy pathosx_pull_request.yml
File metadata and controls
52 lines (50 loc) · 1.16 KB
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
name: OSX
on:
pull_request:
branches: [ master ]
jobs:
sdl1:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: install SDL 1
run: |
brew uninstall openssl@1.0.2t
brew uninstall python@2.7.17
brew untap local/openssl
brew untap local/python2
brew cask install xquartz
brew update
brew upgrade
brew install sdl
brew install sdl_ttf
brew install sdl_mixer
brew install sdl_image
- name: compile
run: make -j 2
sdl2:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: install SDL 2
run: |
brew uninstall openssl@1.0.2t
brew uninstall python@2.7.17
brew untap local/openssl
brew untap local/python2
brew cask install xquartz
brew update
brew upgrade
brew install sdl2
brew install sdl2_ttf
brew install sdl2_mixer
brew install sdl2_image
- name: compile
run: make -j 2
env:
WITH_SDL2: "ON"
FHEROES2_STRICT_COMPILATION: "ON"