Skip to content

Commit

Permalink
fix: Wrong .lpi format for Lazarus 2.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Sep 1, 2023
1 parent 4453e62 commit 556cb62
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:

build-app:
name: build-[${{ matrix.os }}][${{ matrix.lazarus-versions }}]
name: build [${{ matrix.os }}] [${{ matrix.lazarus-versions }}]
runs-on: ${{ matrix.os }}

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:

release-app:
name: release-[${{ fromJSON(inputs.config).tag }}]
name: release [${{ fromJSON(inputs.config).tag }}]
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.lazarus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:

test-app:
name: test-[${{ matrix.os }}][${{ matrix.lazarus-versions }}]
name: test [${{ matrix.os }}] [${{ matrix.lazarus-versions }}]
runs-on: ${{ matrix.os }}

env:
Expand Down
32 changes: 16 additions & 16 deletions lazarus/src/helloworld.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
</General>
<BuildModes>
<Item Name="Default" Default="True"/>
<Item Name="Debug">
<BuildModes Count="3">
<Item1 Name="Default" Default="True"/>
<Item2 Name="Debug">
<CompilerOptions>
<Version Value="11"/>
<Target>
Expand Down Expand Up @@ -48,8 +48,8 @@
</Debugging>
</Linking>
</CompilerOptions>
</Item>
<Item Name="Release">
</Item2>
<Item3 Name="Release">
<CompilerOptions>
<Version Value="11"/>
<Target>
Expand All @@ -73,7 +73,7 @@
<LinkSmart Value="True"/>
</Linking>
</CompilerOptions>
</Item>
</Item3>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
Expand All @@ -82,12 +82,12 @@
<RunParams>
<FormatVersion Value="2"/>
</RunParams>
<Units>
<Unit>
<Units Count="1">
<Unit0>
<Filename Value="helloworld.lpr"/>
<IsPartOfProject Value="True"/>
<UnitName Value="HelloWorld"/>
</Unit>
</Unit0>
</Units>
</ProjectOptions>
<CompilerOptions>
Expand All @@ -101,16 +101,16 @@
</SearchPaths>
</CompilerOptions>
<Debugging>
<Exceptions>
<Item>
<Exceptions Count="3">
<Item1>
<Name Value="EAbort"/>
</Item>
<Item>
</Item1>
<Item2>
<Name Value="ECodetoolError"/>
</Item>
<Item>
</Item2>
<Item3>
<Name Value="EFOpenError"/>
</Item>
</Item3>
</Exceptions>
</Debugging>
</CONFIG>
42 changes: 21 additions & 21 deletions lazarus/tests/helloworldtest.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
</General>
<BuildModes>
<Item Name="Default" Default="True"/>
<Item Name="Debug">
<BuildModes Count="3">
<Item1 Name="Default" Default="True"/>
<Item2 Name="Debug">
<CompilerOptions>
<Version Value="11"/>
<Target>
Expand Down Expand Up @@ -48,8 +48,8 @@
</Debugging>
</Linking>
</CompilerOptions>
</Item>
<Item Name="Release">
</Item2>
<Item3 Name="Release">
<CompilerOptions>
<Version Value="11"/>
<Target>
Expand All @@ -73,7 +73,7 @@
<LinkSmart Value="True"/>
</Linking>
</CompilerOptions>
</Item>
</Item3>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
Expand All @@ -82,22 +82,22 @@
<RunParams>
<FormatVersion Value="2"/>
</RunParams>
<RequiredPackages>
<Item>
<RequiredPackages Count="1">
<Item1>
<PackageName Value="FCL"/>
</Item>
</Item1>
</RequiredPackages>
<Units>
<Unit>
<Units Count="2">
<Unit0>
<Filename Value="helloworldtest.lpr"/>
<IsPartOfProject Value="True"/>
<UnitName Value="HelloWorldTest"/>
</Unit>
<Unit>
</Unit0>
<Unit1>
<Filename Value="tests.helloworld.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="Tests.HelloWorld"/>
</Unit>
</Unit1>
</Units>
</ProjectOptions>
<CompilerOptions>
Expand All @@ -111,16 +111,16 @@
</SearchPaths>
</CompilerOptions>
<Debugging>
<Exceptions>
<Item>
<Exceptions Count="3">
<Item1>
<Name Value="EAbort"/>
</Item>
<Item>
</Item1>
<Item2>
<Name Value="ECodetoolError"/>
</Item>
<Item>
</Item2>
<Item3>
<Name Value="EFOpenError"/>
</Item>
</Item3>
</Exceptions>
</Debugging>
</CONFIG>

0 comments on commit 556cb62

Please sign in to comment.