Initial commit: LFS build scripts and documentation #40
This file contains hidden or 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
| name: LFS Build | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential bison gawk texinfo | |
| - name: Validate scripts | |
| run: | | |
| bash -n *.sh || true | |
| - name: Check script permissions | |
| run: | | |
| chmod +x *.sh | |
| - name: Lint shell scripts | |
| run: | | |
| sudo apt-get install -y shellcheck | |
| shellcheck *.sh || true |