Hisi upstream auguest 2024 #268
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: GPL-2.0 | |
name: CI | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
Ubuntu: | |
name: Ubuntu | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [x64_64, aarch64, ppc64le] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential libsqlite3-dev sqlite3 libtraceevent-dev libtraceevent1 | |
- name: build | |
run: | | |
autoreconf -vfi | |
./configure --enable-all | |
make | |
sudo make install | |
Check: | |
name: Source code check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: checkpatch | |
run: | |
./scripts/checkpatch.pl --terse --show-types --no-summary -f $(git ls-files|grep -E '\.[ch]$') |