|
1 | 1 | name: 0-build-snapshot-lin |
2 | 2 | # 0-build-snapshot-lin.yml |
3 | | -# 2026-04-08 15:10 |
| 3 | +# 2025-04-20 01:20 |
4 | 4 |
|
5 | 5 | on: |
6 | 6 | # if: ${{ inputs.lazarus-install.deep-soft }} |
@@ -164,49 +164,45 @@ jobs: |
164 | 164 | mv ${{ env.ZIP_RELEASE_ARCHIVE }} ../ |
165 | 165 | ls -l ../${{ env.ZIP_RELEASE_ARCHIVE }} |
166 | 166 |
|
167 | | - - name: Get Lazarus source |
168 | | - uses: deep-soft/checkout@v6 |
169 | | - with: |
170 | | - repository: 'fpc/Lazarus' |
171 | | - |
172 | | -## - name: Set version to Install Free Pascal |
173 | | -## shell: bash |
174 | | -## run: | |
175 | | -## echo "LAZARUS_VERSION=stable" >> $GITHUB_ENV |
176 | | -## if [[ "${{ inputs.LAZARUS_VERSION }}" != "" ]]; then |
177 | | -## LAZARUS_VERSION="${{ inputs.LAZARUS_VERSION }}"; |
178 | | -## else |
179 | | -## LAZARUS_VERSION="stable"; |
180 | | -## fi |
181 | | -## echo "LAZARUS_VERSION=$LAZARUS_VERSION" |
182 | | -## echo "LAZARUS_VERSION=$LAZARUS_VERSION" >> $GITHUB_ENV |
183 | | -## |
184 | | -## - name: Install Free Pascal |
185 | | -## uses: deep-soft/lazarus-install@master |
186 | | -## with: |
187 | | -## lazarus-version: "${{ env.LAZARUS_VERSION }}" |
188 | | -### lazarus-version: "stable" |
189 | | - |
190 | | - - name: Build and install Lazarus |
191 | | - run: | |
192 | | - make all install |
| 167 | +# - name: Get Lazarus source |
| 168 | +# uses: deep-soft/checkout@v4 |
| 169 | +# with: |
| 170 | +# repository: 'fpc/Lazarus' |
193 | 171 |
|
194 | | - - name: Create Lazarus config |
| 172 | + - name: Set version to Install Free Pascal |
195 | 173 | shell: bash |
196 | 174 | run: | |
197 | | - sudo mkdir -p /etc/lazarus; |
198 | | - sudo cp tools/install/macosx/environmentoptions.xml /etc/lazarus/environmentoptions.xml; |
199 | | - # sudo sed -i -e "s|_PPCARCH_|fpc|g; s|/Developer/lazarus|/usr/local/share/lazarus|g" /etc/lazarus/environmentoptions.xml; |
200 | | - sudo sed -i -e "s|__LAZARUSDIR__|/usr/local/share/lazarus|g" /etc/lazarus/environmentoptions.xml |
| 175 | + echo "LAZARUS_VERSION=stable" >> $GITHUB_ENV |
| 176 | + if [[ "${{ inputs.LAZARUS_VERSION }}" != "" ]]; then |
| 177 | + LAZARUS_VERSION="${{ inputs.LAZARUS_VERSION }}"; |
| 178 | + else |
| 179 | + LAZARUS_VERSION="stable"; |
| 180 | + fi |
| 181 | + echo "LAZARUS_VERSION=$LAZARUS_VERSION" |
| 182 | + echo "LAZARUS_VERSION=$LAZARUS_VERSION" >> $GITHUB_ENV |
| 183 | +
|
| 184 | + - name: Install Free Pascal |
| 185 | + uses: deep-soft/lazarus-install@master |
| 186 | + with: |
| 187 | + lazarus-version: "${{ env.LAZARUS_VERSION }}" |
| 188 | +# lazarus-version: "stable" |
| 189 | + |
| 190 | +# - name: Build and install Lazarus |
| 191 | +# run: | |
| 192 | +# make all install |
| 193 | + |
| 194 | +# - name: Create Lazarus config |
| 195 | +# shell: bash |
| 196 | +# run: | |
| 197 | +# sudo mkdir -p /etc/lazarus; |
| 198 | +# sudo cp tools/install/macosx/environmentoptions.xml /etc/lazarus/environmentoptions.xml; |
| 199 | +# sudo sed -i -e "s|_PPCARCH_|fpc|g; s|/Developer/lazarus|/usr/local/share/lazarus|g" /etc/lazarus/environmentoptions.xml; |
201 | 200 |
|
202 | 201 | # - name: Checkout source |
203 | 202 | # uses: deep-soft/checkout@v4 |
204 | 203 | # with: |
205 | 204 | # fetch-depth: 0 |
206 | 205 |
|
207 | | -### - name: Build packages |
208 | | -### run: ./.github/scripts/create_snapshot.lnx |
209 | | - |
210 | 206 | - name: Build packages |
211 | 207 | shell: bash |
212 | 208 | run: | |
@@ -295,4 +291,3 @@ jobs: |
295 | 291 | ${{ env.ZIP_ALL }} |
296 | 292 | ${{ env.INFO_FILE }} |
297 | 293 | # Archive - ZIP_ALL end |
298 | | - |
0 commit comments