Merge pull request #57 from brain-hackers/ci-next

Upgrade submodules etc.
This commit is contained in:
Takumi Sueda
2024-02-03 23:26:06 -08:00
committed by GitHub
6 changed files with 16 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ jobs:
with: with:
submodules: true submodules: true
- name: Workaround for apt update failure - name: Workaround for apt update failure
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* run: sudo rm -f /etc/apt/sources.list.d/github_git-lfs.*
- name: Install deps - name: Install deps
run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap python3-pip run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap python3-pip
- name: Upgrade pip and setuptools - name: Upgrade pip and setuptools
@@ -95,7 +95,7 @@ jobs:
with: with:
submodules: true submodules: true
- name: Workaround for apt update failure - name: Workaround for apt update failure
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* run: sudo rm -f /etc/apt/sources.list.d/github_git-lfs.*
- name: Install deps - name: Install deps
run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabihf libssl-dev lzop qemu-user-static debootstrap run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabihf libssl-dev lzop qemu-user-static debootstrap
- name: Configure for Linux - name: Configure for Linux
@@ -131,6 +131,9 @@ jobs:
- model: a7200 - model: a7200
nk: edna3exe.bin nk: edna3exe.bin
lilo: gen2.bin lilo: gen2.bin
- model: a7400
nk: edna3exe.bin
lilo: gen2_7400.bin
- model: sh1 - model: sh1
nk: edsa1exe.bin nk: edsa1exe.bin
lilo: gen3_1.bin lilo: gen3_1.bin
@@ -158,7 +161,7 @@ jobs:
with: with:
submodules: true submodules: true
- name: Workaround for apt update failure - name: Workaround for apt update failure
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* run: sudo rm -f /etc/apt/sources.list.d/github_git-lfs.*
- name: Install deps - name: Install deps
run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap
- name: Build nkbin-maker - name: Build nkbin-maker
@@ -204,7 +207,7 @@ jobs:
with: with:
submodules: true submodules: true
- name: Workaround for apt update failure - name: Workaround for apt update failure
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* run: sudo rm -f /etc/apt/sources.list.d/github_git-lfs.*
- name: Install deps - name: Install deps
run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabihf libssl-dev lzop qemu-user-static debootstrap run: sudo apt update && sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabihf libssl-dev lzop qemu-user-static debootstrap
- name: Configure for U-Boot - name: Configure for U-Boot
@@ -245,7 +248,7 @@ jobs:
unzip -q cegcc.zip unzip -q cegcc.zip
cp -r cegcc /opt/ cp -r cegcc /opt/
- name: Workaround for apt update failure - name: Workaround for apt update failure
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* run: sudo rm -f /etc/apt/sources.list.d/github_git-lfs.*
- name: Install deps - name: Install deps
run: sudo apt update && sudo apt install kpartx build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap run: sudo apt update && sudo apt install kpartx build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi qemu-user-static debootstrap
- name: Configure for Linux - name: Configure for Linux
@@ -281,7 +284,7 @@ jobs:
with: with:
submodules: true submodules: true
- name: Workaround for apt update failure - name: Workaround for apt update failure
run: sudo rm /etc/apt/sources.list.d/github_git-lfs.* run: sudo rm -f /etc/apt/sources.list.d/github_git-lfs.*
- name: Install deps - name: Install deps
run: sudo apt update && sudo apt install kpartx build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabihf libssl-dev lzop qemu-user-static debootstrap run: sudo apt update && sudo apt install kpartx build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabihf libssl-dev lzop qemu-user-static debootstrap
- name: Upgrade pip and setuptools - name: Upgrade pip and setuptools

View File

@@ -14,7 +14,7 @@ export CROSS_COMPILE=arm-linux-gnueabi-
mkdir -p ${WORK} mkdir -p ${WORK}
mkdir -p ${WORK}/lilobin mkdir -p ${WORK}/lilobin
for i in "a7200" "sh1" "sh2" "sh3" "sh4" "sh5" "sh6" "sh7"; do for i in "a7200" "a7400" "sh1" "sh2" "sh3" "sh4" "sh5" "sh6" "sh7"; do
NUM=$(echo $i | sed -E 's/sh//g') NUM=$(echo $i | sed -E 's/sh//g')
make -C ${REPO}/u-boot-brain distclean pw${i}_defconfig make -C ${REPO}/u-boot-brain distclean pw${i}_defconfig
@@ -25,6 +25,8 @@ for i in "a7200" "sh1" "sh2" "sh3" "sh4" "sh5" "sh6" "sh7"; do
"a7200") "a7200")
mv ${REPO}/nk.bin ${WORK}/edna3exe.bin mv ${REPO}/nk.bin ${WORK}/edna3exe.bin
mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen2.bin;; mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen2.bin;;
"a7400")
mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen2_7400.bin;;
"sh1" | "sh2" | "sh3") "sh1" | "sh2" | "sh3")
mv ${REPO}/nk.bin ${WORK}/edsa${NUM}exe.bin mv ${REPO}/nk.bin ${WORK}/edsa${NUM}exe.bin
mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen3_${NUM}.bin;; mv ${REPO}/u-boot-brain/u-boot.bin ${WORK}/lilobin/gen3_${NUM}.bin;;

View File

@@ -80,9 +80,8 @@ apt update -y
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
apt install -y dialog sudo \ apt install -y dialog sudo \
libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev \ libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev \
xserver-xorg xserver-xorg-video-fbdev xserver-xorg-dev xserver-xorg-input-evdev xinput-calibrator xorg-dev x11-apps xinit \ xserver-xorg xserver-xorg-video-fbdev xserver-xorg-dev xserver-xorg-input-evdev xinput-calibrator xorg-dev x11-apps x11-ico-dvd xinit \
jwm \ jwm \
weston xwayland \
bash tmux vim htop \ bash tmux vim htop \
midori pcmanfm lxterminal xterm gnome-terminal fbterm uim-fep uim-anthy fonts-noto-cjk \ midori pcmanfm lxterminal xterm gnome-terminal fbterm uim-fep uim-anthy fonts-noto-cjk \
dbus udev alsa-utils usbutils iw fake-hwclock systemd-timesyncd\ dbus udev alsa-utils usbutils iw fake-hwclock systemd-timesyncd\