Skip to content

Commit eed4d7e

Browse files
committed
Add a GHActions workflow using Ubuntu 20.04
1 parent 8733bdc commit eed4d7e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
ubuntu-20-04:
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- name: Install FPC
14+
run: |
15+
export DEBIAN_FRONTEND=noninteractive
16+
sudo apt update
17+
sudo apt install fpc
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
- name: Compile SDL2 unit
21+
run: fpc sdl2.pas
22+
- name: Compile SDL2_gfx unit
23+
run: fpc sdl2_gfx.pas
24+
- name: Compile SDL2_image unit
25+
run: fpc sdl2_image.pas
26+
- name: Compile SDL2_mixer unit
27+
run: fpc sdl2_mixer.pas
28+
- name: Compile SDL2_net unit
29+
run: fpc sdl2_net.pas
30+
- name: Compile SDL2_ttf unit
31+
run: fpc sdl2_ttf.pas
32+

0 commit comments

Comments
 (0)