Update test.yaml #3
This file contains 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: Compile RK3588 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: true # Initializes and updates submodules | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential git libncurses5-dev libssl-dev \ | |
mercurial texinfo zip default-jre imagemagick subversion autoconf \ | |
automake bison scons libglib2.0-dev bc mtools u-boot-tools flex \ | |
wget cpio dosfstools libtool gcc-multilib g++-multilib | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 | |
pip3 install conan | |
- name: Initialize and update submodules | |
run: | | |
cd ${{ github.workspace }}/batocera.linux | |
git submodule init | |
git submodule update | |
- name: Build Batocera | |
run: | | |
cd ${{ github.workspace }}/batocera.linux | |
make rk3588-build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: batocera-images | |
path: ${{ github.workspace }}/batocera.linux/output/images/batocera/images/ |