Skip to content

mdk3: use debian source. #6498

mdk3: use debian source.

mdk3: use debian source. #6498

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Package
run: |
CHANGED_FILES=($(git diff --name-only --diff-filter=d $THE_LAST_COMMIT HEAD))
for FILE in $CHANGED_FILES; do
if [[ $(basename $FILE) == "PKGBUILD" ]]; then
docker build -t builder -f travis/Dockerfile $(dirname $FILE)
docker run --rm builder
fi
done
pkgcheck:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pkgcheck-arch --user
- name: Check Styling
run: |
COMMIT_RANGE=($(git diff --name-only --diff-filter=d $(git log -2 --format=%H | tr '\n' ' ')))
CHANGED_FILES=($(git diff --name-only $COMMIT_RANGE))
for FILE in $CHANGED_FILES; do
if [[ $(basename $FILE) == "PKGBUILD" ]]; then
pkgcheck $FILE
fi
done