Skip to content

Add units folder and move pas and inc files into that #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ Win64/*
compile/*
*.~inc
backup/*
*/backup
*/*/backup
*.res
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Docs folder

See issue #22.

Delete this file if the first doc has been added.
5 changes: 5 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SDL2/Pascal examples folder

See issue #22.

Delete this file if the first example program has been added.
5 changes: 5 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Tests folder

See issue #22.

Delete this file if the first test has been added.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading