-
Notifications
You must be signed in to change notification settings - Fork 63
35 lines (32 loc) · 982 Bytes
/
mapserver.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
name: Test Mapserver Files
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-linux:
name: Test Mapserver Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Add /etc/hosts entries
run: |
cat .github/workflows/etchosts.txt | sudo tee -a /etc/hosts
- name: Setup CI from ci-tooling
run: |
git clone --depth 1 https://github.com/akrherz/iem-database.git database
git clone --depth 1 https://github.com/akrherz/ci_tooling.git .ci_tooling
. .ci_tooling/iemwebfarm.sh
. .ci_tooling/postgres.sh
sudo ln -s `pwd` /opt/iem
sudo ln -s $HOME/miniconda /opt/miniconda3
sudo apt-get install mapserver-bin
sudo mkdir -p /mesonet/ldmdata/
wget -q http://mesonet.agron.iastate.edu/pickup/ci_msinc.tgz
sudo tar -C / -xzf ci_msinc.tgz
- name: Run map2img
run: |
bash test/run_mapserver.sh