Deal with externals in crate builder check (#103)

* Simpler changed files detection

* Fixes for crates with system dependencies

* Checks for external crates

* Detect need to update system repositories
This commit is contained in:
Alejandro R Mosteo
2020-04-07 12:48:35 +02:00
committed by GitHub
parent 2511123b69
commit 9c10a433e4
2 changed files with 72 additions and 16 deletions
+4 -2
View File
@@ -8,7 +8,7 @@ on:
jobs:
build:
name: Build crate on ${{ matrix.os }}::${{ matrix.tag}}
name: HOST:${{ matrix.os }} DOCK:${{ matrix.tag }}
runs-on: ${{ matrix.os }}
@@ -41,7 +41,9 @@ jobs:
- name: Check out alire-index
uses: actions/checkout@v2
with:
fetch-depth: 3 # Needed to be able to diff and obtain changed files
fetch-depth: 10
# Needed to be able to diff and obtain changed files. Changes beyond
# that depth are not detected. Should be OK for crate submissions.
- name: Set up GNAT toolchain (FSF)
if: matrix.os == 'ubuntu-latest'