1414
1515jobs :
1616 build :
17- runs-on : ubuntu-latest
17+ runs-on : ubuntu-22.04
1818 steps :
1919 - name : Checkout repository
2020 uses : actions/checkout@v4
@@ -25,32 +25,23 @@ jobs:
2525 - name : Install dependencies
2626 run : |
2727 sudo apt-get update
28- sudo apt-get install -y \
29- gawk wget git diffstat unzip texinfo gcc build-essential \
30- chrpath socat cpio python3 python3-pip python3-pexpect \
31- xz-utils debianutils iputils-ping python3-git python3-jinja2 \
32- libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev \
33- zstd liblz4-tool file locales
34- sudo locale-gen en_US.UTF-8
28+ sudo apt-get install -y sudo locales language-pack-en-base build-essential \
29+ chrpath cpio diffstat gawk lz4 wget zstd bash curl python3 pip bison flex file
30+ pip install requests scons kconfiglib tqdm
3531
36- - name : Setup build environment
37- run : |
38- echo "Setting up build environment..."
39- source ./smart-env
40- echo "MACHINE=${{ github.event.inputs.machine }}" >> conf/local.conf
41-
42- - name : Build RT-Smart
43- run : |
4432 git clone https://github.com/openembedded/bitbake
4533 git clone https://github.com/openembedded/openembedded-core oe-core
34+
35+ - name : Setup env & Build RT-Smart
36+ run : |
4637 source ./smart-env
38+ echo "MACHINE = \"${{ github.event.inputs.machine }}\"" >> conf/local.conf
4739 bitbake smart -c build_all
4840
4941 - name : Archive build artifacts
5042 uses : actions/upload-artifact@v4
5143 with :
5244 name : ${{ github.event.inputs.machine }}-build
5345 path : |
46+ ls build
5447 build/${{ github.event.inputs.machine }}
55- build/tmp/work/*/smart/*/temp/log.*
56- build/tmp/log/cooker/*
0 commit comments