update config for Ortho4XP v1.4 #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- name: Gen tile sub-lists | |
id: chunks | |
run: | | |
TILENAME=test make -f Makefile.tiles 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 |