Skip to content

Commit

Permalink
fixup gh
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime committed Nov 12, 2024
1 parent 7e51441 commit c3f155e
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,27 +182,34 @@ jobs:
path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-checkpatch-ccache-build-${{ github.sha }}
restore-keys: ${{ runner.os }}-checkpatch-ccache-build-
- name: Install pip dependencies
- name: Install packages
run: |
sudo pip install ply GitPython
sudo pip install ply GitPython mypy
sudo apt update -y
sudo apt install -y aspell ccache sparse
git clone https://github.com/daxtens/smart-sparse-diff
#- name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# with:
# detached: true
- name: build (sparse)
run: |
make ARCH=um W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' x86_64_nommu_defconfig O=build-sparse
make ARCH=um W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build-sparse
- name: check coding style
- name: checkout trees
run: |
git checkout -b tmp
#git remote add linus git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
#git fetch linus
#git format-patch -o p1 linus/master..HEAD~1
git remote add uml git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git
git fetch uml
git checkout uml/next
- name: build (sparse)
run: |
make ARCH=um W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' defconfig O=build-sparse
make ARCH=um W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build-sparse >& old-sparse.log
git checkout zpoline-nommu-v6.10
make ARCH=um W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' x86_64_nommu_defconfig O=build-sparse
make ARCH=um W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build-sparse >& new-sparse.log
./smart-sparse-diff/smart-sparse-diff.py old-sparse.log new-sparse.log
- name: check coding style
run: |
git format-patch -o p1 uml/next..HEAD~1
./scripts/checkpatch.pl --summary-file --ignore FILE_PATH_CHANGES \
--ignore AVOID_EXTERNS p1/*.patch
Expand Down

0 comments on commit c3f155e

Please sign in to comment.