feat: Add LuminOS logo asset #20
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: LuminOS Build Test | |
| on: | |
| # Trigger the workflow on push events for the "main" branch | |
| push: | |
| branches: [ "main" ] | |
| # Also trigger on pull request events for the "main" branch | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| # Use a fresh Ubuntu virtual machine for each test run | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Check out the repository code | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| # Step 2: Install necessary dependencies for the build | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y debootstrap debian-archive-keyring | |
| # Step 3: Make all shell scripts executable | |
| - name: Make scripts executable | |
| run: chmod +x *.sh | |
| # Step 4: Run the entire sequence of LuminOS build scripts | |
| - name: Run LuminOS build scripts | |
| run: | | |
| sudo ./01-build-base-system.sh | |
| sudo ./02-configure-system.sh | |
| sudo ./03-install-desktop.sh | |
| sudo ./04-customize-desktop.sh | |
| sudo ./05-install-ai.sh | |
| sudo ./06-final-cleanup.sh | |
| env: | |
| # This environment variable enables non-interactive mode in script 02 | |
| CI: true | |
| # Step 5: Verify that the build produced the expected output directory | |
| - name: Verify build output | |
| run: | | |
| echo "Build finished. Listing contents of the chroot directory:" | |
| ls -lA chroot/ |