]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/dev/tasks/r/github.linux.revdepcheck.yml
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / dev / tasks / r / github.linux.revdepcheck.yml
CommitLineData
1d09f67e
TL
1# Licensed to the Apache Software Foundation (ASF) under one
2# or more contributor license agreements. See the NOTICE file
3# distributed with this work for additional information
4# regarding copyright ownership. The ASF licenses this file
5# to you under the Apache License, Version 2.0 (the
6# "License"); you may not use this file except in compliance
7# with the License. You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing,
12# software distributed under the License is distributed on an
13# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14# KIND, either express or implied. See the License for the
15# specific language governing permissions and limitations
16# under the License.
17
18# NOTE: must set "Crossbow" as name to have the badge links working in the
19# github comment reports!
20name: Crossbow
21
22on:
23 push:
24 branches:
25 - "*-github-*"
26
27jobs:
28 r-versions:
29 name: "rstudio/r-base:latest-focal"
30 runs-on: ubuntu-latest
31 strategy:
32 fail-fast: false
33 env:
34 R_ORG: "rstudio"
35 R_IMAGE: "r-base"
36 R_TAG: "latest-focal"
37 ARROW_R_DEV: "TRUE"
38 steps:
39 - name: Checkout Arrow
40 run: |
41 git clone --no-checkout {{ arrow.remote }} arrow
42 git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }}
43 git -C arrow checkout FETCH_HEAD
44 git -C arrow submodule update --init --recursive
45 - name: Free Up Disk Space
46 shell: bash
47 run: arrow/ci/scripts/util_cleanup.sh
48 - name: Fetch Submodules and Tags
49 shell: bash
50 run: cd arrow && ci/scripts/util_checkout.sh
51 - name: Docker Pull
52 shell: bash
53 run: cd arrow && docker-compose pull --ignore-pull-failures r
54 - name: Docker Build
55 shell: bash
56 run: cd arrow && docker-compose build r-revdepcheck
57 - name: Docker Run
58 shell: bash
59 run: cd arrow && docker-compose run r-revdepcheck
60 - name: revdepcheck CRAN report
61 if: always()
62 shell: bash
63 run: cat arrow/r/revdep/cran.md
64 - name: revdepcheck failures
65 if: always()
66 shell: bash
67 run: cat arrow/r/revdep/failures.md
68 - name: revdepcheck problems
69 if: always()
70 shell: bash
71 run: cat arrow/r/revdep/problems.md
72 - name: Save the revdep output
73 if: always()
74 uses: actions/upload-artifact@v2
75 with:
76 name: revdepcheck-folder
77 path: arrow/r/revdep