|
44 | 44 |
|
45 | 45 | jobs:
|
46 | 46 | bioc-config:
|
47 |
| - runs-on: ubuntu-latest |
48 |
| - outputs: |
49 |
| - matrix: ${{ steps.set-matrix.outputs.matrix }} |
50 |
| - steps: |
51 |
| - - id: set-bioc-matrix |
52 |
| - run: | |
53 |
| - bioc=$(curl -L https://bioconductor.org/config.yaml) |
54 |
| - if [[ "$latest_release" == "true" ]]; then |
55 |
| - echo "Finding the latest BioC release version and the corresponding R version" |
56 |
| - biocversion=$(echo $bioc | grep "release_version: " | grep -Eo "[0-9]{1}\.[0-9]{2}") |
57 |
| - rversion=$(echo $bioc | grep "r_version_associated_with_release: " | grep -Eo "[0-9]{1}\.[0-9]{1}") |
58 |
| - biocmajor=$(echo $biocversion | cut -c 1-1) |
59 |
| - biocminor=$(echo $biocversion | cut -c 3-4) |
60 |
| - bioccont="bioconductor/bioconductor_docker:RELEASE_${biocmajor}_${biocminor}" |
61 |
| - else |
62 |
| - echo "Finding the latest BioC devel version and the corresponding R version" |
63 |
| - biocversion=$(echo $bioc | grep "devel_version: " | grep -Eo "[0-9]{1}\.[0-9]{2}") |
64 |
| - rversion=$(echo $bioc | grep "r_version_associated_with_devel: " | grep -Eo "[0-9]{1}\.[0-9]{1}") |
65 |
| - bioccont="bioconductor/bioconductor_docker:devel" |
66 |
| - fi |
67 |
| - echo "matrix={ \"config\": { [{\"os\" : \"ubuntu-latest\", \"r\" : \"${rversion}\", \"bioc\" : \"${biocversion}\", \"cont\" : \"${bioccont}\"} , {\"os\" : \"macOS-latest\", \"r\" : \"${rversion}\", \"bioc\" : \"${biocversion}\"} , {\"os\" : \"windows-latest\", \"r\" : \"${rversion}\", \"bioc\" : \"${biocversion}\" }] } }" |
| 47 | + runs-on: ubuntu-latest |
| 48 | + outputs: |
| 49 | + matrix: ${{ steps.set-matrix.outputs.matrix }} |
| 50 | + steps: |
| 51 | + - id: set-bioc-matrix |
| 52 | + run: | |
| 53 | + bioc=$(curl -L https://bioconductor.org/config.yaml) |
| 54 | + if [[ "$latest_release" == "true" ]]; then |
| 55 | + echo "Finding the latest BioC release version and the corresponding R version" |
| 56 | + biocversion=$(echo $bioc | grep "release_version: " | grep -Eo "[0-9]{1}\.[0-9]{2}") |
| 57 | + rversion=$(echo $bioc | grep "r_version_associated_with_release: " | grep -Eo "[0-9]{1}\.[0-9]{1}") |
| 58 | + biocmajor=$(echo $biocversion | cut -c 1-1) |
| 59 | + biocminor=$(echo $biocversion | cut -c 3-4) |
| 60 | + bioccont="bioconductor/bioconductor_docker:RELEASE_${biocmajor}_${biocminor}" |
| 61 | + else |
| 62 | + echo "Finding the latest BioC devel version and the corresponding R version" |
| 63 | + biocversion=$(echo $bioc | grep "devel_version: " | grep -Eo "[0-9]{1}\.[0-9]{2}") |
| 64 | + rversion=$(echo $bioc | grep "r_version_associated_with_devel: " | grep -Eo "[0-9]{1}\.[0-9]{1}") |
| 65 | + bioccont="bioconductor/bioconductor_docker:devel" |
| 66 | + fi |
| 67 | + echo "matrix={ \"config\": { [{\"os\" : \"ubuntu-latest\", \"r\" : \"${rversion}\", \"bioc\" : \"${biocversion}\", \"cont\" : \"${bioccont}\"} , {\"os\" : \"macOS-latest\", \"r\" : \"${rversion}\", \"bioc\" : \"${biocversion}\"} , {\"os\" : \"windows-latest\", \"r\" : \"${rversion}\", \"bioc\" : \"${biocversion}\" }] } }" |
68 | 68 |
|
69 | 69 | build-check:
|
70 | 70 | needs: bioc-config
|
|
0 commit comments