Skip to content

Commit 0c0a5f0

Browse files
committed
Add a GHActions workflow using Windows Server 2022
1 parent 5bb1dc4 commit 0c0a5f0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,24 @@ jobs:
5050
run: fpc sdl2_net.pas
5151
- name: Compile SDL2_ttf unit
5252
run: fpc sdl2_ttf.pas
53+
windows-2022:
54+
runs-on: windows-2022
55+
steps:
56+
- name: Install Lazarus
57+
run: |
58+
choco install lazarus
59+
- name: Checkout code
60+
uses: actions/checkout@v2
61+
- name: Compile SDL2 unit
62+
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2.pas
63+
- name: Compile SDL2_gfx unit
64+
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_gfx.pas
65+
- name: Compile SDL2_image unit
66+
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_image.pas
67+
- name: Compile SDL2_mixer unit
68+
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_mixer.pas
69+
- name: Compile SDL2_net unit
70+
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_net.pas
71+
- name: Compile SDL2_ttf unit
72+
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_ttf.pas
5373

0 commit comments

Comments
 (0)