forked from kubilus1/autoortho-scenery
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (33 loc) · 955 Bytes
/
run-one-tile.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
name: Build one tile (and create artifact)
on:
workflow_dispatch:
inputs:
tile:
type: string
default: '+62-008'
jobs:
build:
env:
DEBIAN_FRONTEND: noninteractive
TZ: America/NewYork
GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install reqs
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip python3-tk zip libgeos-dev
python3 -m pip install -r requirements.txt
make --version
- name: Build
id: build
run: |
timeout 20m make -f Makefile.tiles zOrtho4XP_${{ inputs.tile }}.zip -j $(nproc)
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: z_aosingle_${{ inputs.tile }}.zip
path: ./z_aosingle_${{ inputs.tile }}.zip
retention-days: 2