1313 build :
1414 runs-on : ubuntu-latest
1515 container :
16- image : s22s/circleci -openjdk-conda-gdal:b8e30ee
16+ image : daunnc/debian -openjdk-conda-gdal:6790f8d
1717
1818 steps :
1919 - uses : actions/checkout@v2
3131
3232 - name : Install Conda dependencies
3333 run : |
34- # $CONDA is an environment variable pointing to the root of the miniconda directory
35- $CONDA/bin/conda install -c conda-forge --yes --file pyrasterframes/src/main/python/requirements-condaforge.txt
36-
37- - run : ulimit -c unlimited -S
34+ # $CONDA_DIR is an environment variable pointing to the root of the miniconda directory
35+ $CONDA_DIR/bin/conda install -c conda-forge --yes --file pyrasterframes/src/main/python/requirements-condaforge.txt
3836
3937 # Do just the compilation stage to minimize sbt memory footprint
4038 - name : Compile
7169 with :
7270 name : core-dumps
7371 path : /tmp/core_dumps
74-
75- docs :
76- runs-on : ubuntu-latest
77- container :
78- image : s22s/circleci-openjdk-conda-gdal:b8e30ee
79-
80- steps :
81- - uses : actions/checkout@v2
82- with :
83- fetch-depth : 0
84- - uses : coursier/cache-action@v6
85- - uses : olafurpg/setup-scala@v13
86- with :
87- java-version : adopt@1.11
88-
89- - name : Set up Python 3.8
90- uses : actions/setup-python@v2
91- with :
92- python-version : 3.8
93-
94- - name : Install Conda dependencies
95- run : |
96- # $CONDA is an environment variable pointing to the root of the miniconda directory
97- $CONDA/bin/conda install -c conda-forge --yes --file pyrasterframes/src/main/python/requirements-condaforge.txt
98-
99- - run : ulimit -c unlimited -S
100-
101- - name : Build documentation
102- run : sbt makeSite
103-
104- - name : Collect artifacts
105- if : ${{ failure() }}
106- run : |
107- mkdir -p /tmp/core_dumps
108- cp core.* *.hs /tmp/core_dumps 2> /dev/null || true
109- mkdir -p /tmp/markdown
110- cp pyrasterframes/target/python/docs/*.md /tmp/markdown 2> /dev/null || true
111-
112- - name : Upload core dumps
113- if : ${{ failure() }}
114- uses : actions/upload-artifact@v2
115- with :
116- name : core-dumps
117- path : /tmp/core_dumps
118-
119- - name : Upload markdown
120- if : ${{ failure() }}
121- uses : actions/upload-artifact@v2
122- with :
123- name : markdown
124- path : /tmp/markdown
125-
126- - name : Upload rf-site
127- if : ${{ failure() }}
128- uses : actions/upload-artifact@v2
129- with :
130- name : rf-site
131- path : docs/target/site
0 commit comments