Skip to content

Set SPLITSIZE=100 to make zip chunk generation time more manageable #5

Set SPLITSIZE=100 to make zip chunk generation time more manageable

Set SPLITSIZE=100 to make zip chunk generation time more manageable #5

Workflow file for this run

name: Build test tileset
on:
push:
jobs:
ziplist:
runs-on: ubuntu-22.04
env:
DEBIAN_FRONTEND: noninteractive
TZ: America/NewYork
GH_TOKEN: ${{ github.token }}
outputs:
chunks: ${{ steps.chunks.outputs.chunks }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Gen tile sub-lists
id: chunks
run: |
TILENAME=test make test_tile_list_chunks
CHUNKS=$(ls test_tile_list.* | awk -F '.' '/.+/ { printf "%s\"z_test_%s.zip\"", sep, ""$2""; sep=", " }')
echo "chunks={\"chunk\":[$CHUNKS]}" >> $GITHUB_OUTPUT
call-build:
needs: ziplist
strategy:
matrix: ${{ fromJSON(needs.ziplist.outputs.chunks) }}
uses: ./.github/workflows/build-tiles.yml
with:
zip: ${{ matrix.chunk }}
setname: test