File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 37
37
runs-on : ${{ matrix.host-label }}
38
38
steps :
39
39
- uses : actions/checkout@v4
40
- - name : Delphi Build
41
- run : make all-delphi
40
+ - name : Delphi Build (Win32)
41
+ run : make all-delphi-win32
42
+ - name : Delphi Build (Win64)
43
+ run : make all-delphi-win64
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ FPC_COMMAND:=fpc -Mdelphi
6
6
# See https://github.com/castle-engine/castle-engine/blob/master/tools/build-tool/code/toolcompile.pas#L858
7
7
# for how Castle Game Engine build tool invokes dcc for some hints.
8
8
# -NS below follows the DPROJ settings generated by Delphi for new projects.
9
- DELPHI_COMMAND: =dcc32 '-NSSystem;Xml;Data;Datasnap;Web;Soap'
9
+ DELPHI_OPTIONS_COMMON: ='-NSSystem;Xml;Data;Datasnap;Web;Soap'
10
+ DELPHI_WIN32_COMMAND: =dcc32 $(DELPHI_OPTIONS_COMMON )
11
+ DELPHI_WIN64_COMMAND: =dcc64 $(DELPHI_OPTIONS_COMMON )
10
12
11
13
# Compile all examples with FPC.
12
14
# Use `find` to find all *.dpr files (including subdirectories)
@@ -34,10 +36,18 @@ all-fpc331:
34
36
' (' -execdir $(FPC_COMMAND ) {} ' ;' -o -quit ' )' \
35
37
' )'
36
38
37
- # Build with Delphi.
38
- .PHONY : all-delphi
39
- all-delphi :
39
+ # Build with Delphi for Win32 .
40
+ .PHONY : all-delphi-win32
41
+ all-delphi-win32 :
40
42
find . \
41
43
' (' -type f -iname * .dpr \
42
- ' (' -execdir $(DELPHI_COMMAND ) {} ' ;' -o -quit ' )' \
44
+ ' (' -execdir $(DELPHI_WIN32_COMMAND ) {} ' ;' -o -quit ' )' \
45
+ ' )'
46
+
47
+ # Build with Delphi for Win64.
48
+ .PHONY : all-delphi-win64
49
+ all-delphi-win64 :
50
+ find . \
51
+ ' (' -type f -iname * .dpr \
52
+ ' (' -execdir $(DELPHI_WIN64_COMMAND ) {} ' ;' -o -quit ' )' \
43
53
' )'
You can’t perform that action at this time.
0 commit comments