-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.35 KB
/
snapshot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build Snapshot
on: [push]
env:
release_tag: snapshot
jobs:
build:
strategy:
matrix:
operating-system: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout Tiles Downloader
uses: actions/checkout@v4
- name: Setup Lazarus
uses: gcarreno/setup-lazarus@v3
with:
lazarus-version: "dist"
with-cache: false
- name: Download BGRABitmapPack Windows
if: ${{ matrix.operating-system == 'windows-latest' }}
run: Invoke-WebRequest -Uri https://packages.lazarus-ide.org/BGRABitmap.zip -OutFile BGRABitmap.zip
- name: Download BGRABitmapPack Linux
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
run: wget https://packages.lazarus-ide.org/BGRABitmap.zip
- name: Unzip BGRABitmapPack Windows
if: ${{ matrix.operating-system == 'windows-latest' }}
run: Expand-Archive -Path BGRABitmap.zip -DestinationPath . -Force
- name: Unzip BGRABitmapPack Linux
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
run: unzip BGRABitmap.zip
- name: Build BGRABitmapPack
run: lazbuild BGRABitmap/bgrabitmap/bgrabitmappack.lpk
- name: Build Tiles Downloader
run: lazbuild -B --bm="Release" src/tilesdownloader.lpi