Skip to content

Commit 5bb1dc4

Browse files
committed
Add a GHActions workflow using MacOS 11
1 parent eed4d7e commit 5bb1dc4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ on:
77
branches: [ master ]
88

99
jobs:
10+
macos-11:
11+
runs-on: macos-11
12+
steps:
13+
- name: Install FPC
14+
run: |
15+
brew update
16+
brew install fpc
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
- name: Compile SDL2 unit
20+
run: fpc sdl2.pas
21+
- name: Compile SDL2_gfx unit
22+
run: fpc sdl2_gfx.pas
23+
- name: Compile SDL2_image unit
24+
run: fpc sdl2_image.pas
25+
- name: Compile SDL2_mixer unit
26+
run: fpc sdl2_mixer.pas
27+
- name: Compile SDL2_net unit
28+
run: fpc sdl2_net.pas
29+
- name: Compile SDL2_ttf unit
30+
run: fpc sdl2_ttf.pas
1031
ubuntu-20-04:
1132
runs-on: ubuntu-20.04
1233
steps:

0 commit comments

Comments
 (0)