Skip to content

Commit

Permalink
Update unit path in CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
Free-Pascal-meets-SDL-Website committed Sep 11, 2021
1 parent 2fb17f0 commit f41553e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Compile SDL2 unit
run: fpc sdl2.pas
run: fpc units/sdl2.pas
- name: Compile SDL2_gfx unit
run: fpc sdl2_gfx.pas
run: fpc units/sdl2_gfx.pas
- name: Compile SDL2_image unit
run: fpc sdl2_image.pas
run: fpc units/sdl2_image.pas
- name: Compile SDL2_mixer unit
run: fpc sdl2_mixer.pas
run: fpc units/sdl2_mixer.pas
- name: Compile SDL2_net unit
run: fpc sdl2_net.pas
run: fpc units/sdl2_net.pas
- name: Compile SDL2_ttf unit
run: fpc sdl2_ttf.pas
run: fpc units/sdl2_ttf.pas
ubuntu-20-04:
runs-on: ubuntu-20.04
steps:
Expand All @@ -39,17 +39,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Compile SDL2 unit
run: fpc sdl2.pas
run: fpc units/sdl2.pas
- name: Compile SDL2_gfx unit
run: fpc sdl2_gfx.pas
run: fpc units/sdl2_gfx.pas
- name: Compile SDL2_image unit
run: fpc sdl2_image.pas
run: fpc units/sdl2_image.pas
- name: Compile SDL2_mixer unit
run: fpc sdl2_mixer.pas
run: fpc units/sdl2_mixer.pas
- name: Compile SDL2_net unit
run: fpc sdl2_net.pas
run: fpc units/sdl2_net.pas
- name: Compile SDL2_ttf unit
run: fpc sdl2_ttf.pas
run: fpc units/sdl2_ttf.pas
windows-2022:
runs-on: windows-2022
steps:
Expand All @@ -59,15 +59,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Compile SDL2 unit
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2.pas
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe units/sdl2.pas
- name: Compile SDL2_gfx unit
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_gfx.pas
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe units/sdl2_gfx.pas
- name: Compile SDL2_image unit
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_image.pas
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe units/sdl2_image.pas
- name: Compile SDL2_mixer unit
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_mixer.pas
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe units/sdl2_mixer.pas
- name: Compile SDL2_net unit
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_net.pas
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe units/sdl2_net.pas
- name: Compile SDL2_ttf unit
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe sdl2_ttf.pas
run: C:/lazarus/fpc/*/bin/x86_64-win64/fpc.exe units/sdl2_ttf.pas

0 comments on commit f41553e

Please sign in to comment.