Skip to content

Commit

Permalink
Update makefile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni500github authored Nov 18, 2024
1 parent 742891b commit 75a6bcd
Showing 1 changed file with 56 additions and 29 deletions.
85 changes: 56 additions & 29 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,42 +39,69 @@ jobs:
cd /tmp/customfetch-0.10.2.orig
sudo dpkg -i customfetch_0.10.2-1_amd64.deb
customfetch --wrap-lines=0
build_ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Packages
run: sudo apt-get update && sudo apt-get install build-essential cmake neofetch tree libgtk-3-dev pkg-config libgtkmm-3.0-dev -y

- name: Clean
run: make clean

- name: Build and install
run: sudo make install DEBUG=1 VENDOR_TEST=1 GUI_MODE=0

- name: Test neofetch
run: neofetch

- name: Check system values
run: |
ls -l /sys/devices/virtual/dmi/id/ /sys/class/dmi/id/
grep -Eri "virtual" /sys/class/dmi/id/ || true
cat /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_version
tree /sys/devices/system/cpu/cpu0/
printf "/etc/os-release\n" && cat /etc/os-release
printf "getting 0x5353 hexcode\n" && grep -nri "5353" /sys/class/ || true
- name: Test customfetch
run: ./build/debug/customfetch --wrap-lines=0

ubuntu-latest_aarch64_armv7:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- linux/arm64/v8
- linux/amd64
- linux/aarch64
platform: [armv7, aarch64]

steps:
- uses: actions/checkout@v4

- name: Install Packages
run: sudo apt-get update && sudo apt-get install build-essential cmake neofetch tree libgtk-3-dev pkg-config libgtkmm-3.0-dev -y

- name: Clean
run: make clean

- name: Compile
run: sudo make install DEBUG=1 VENDOR_TEST=1 GUI_MODE=0

- name: Test neofetch
run: neofetch

- name: Check system values
run: |
ls -l /sys/devices/virtual/dmi/id/ /sys/class/dmi/id/
grep -Eri "virtual" /sys/class/dmi/id/ || true
cat /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_version
tree /sys/devices/system/cpu/cpu0/
printf "/etc/os-release\n" && cat /etc/os-release
printf "getting 0x5353 hexcode\n" && grep -nri "5353" /sys/class/ || true
- name: Test customfetch
run: ./build/debug/customfetch --wrap-lines=0
- name: run VM
uses: uraimo/run-on-arch-action@v2
id: runcmd
with:
arch: ${{ matrix.platform }}
distro: ubuntu-latest
githubToken: ${{ github.token }}
run: |
# Install packages
sudo apt-get update && sudo apt-get install build-essential cmake neofetch tree libgtk-3-dev pkg-config libgtkmm-3.0-dev -y
# Clean
make clean
# Build and install
sudo make install DEBUG=1 VENDOR_TEST=1 GUI_MODE=0
# Test neofetch
neofetch
# Check system values
ls -l /sys/devices/virtual/dmi/id/ /sys/class/dmi/id/
grep -Eri "virtual" /sys/class/dmi/id/ || true
cat /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_version
tree /sys/devices/system/cpu/cpu0/
printf "/etc/os-release\n" && cat /etc/os-release
printf "getting 0x5353 hexcode\n" && grep -nri "5353" /sys/class/ || true
# Test customfetch
./build/debug/customfetch --wrap-lines=0
build_Arch-AUR:

Expand Down

0 comments on commit 75a6bcd

Please sign in to comment.