Skip to content

nightly

nightly #149

Workflow file for this run

name: nightly
on:
schedule:
- cron: '0 1 * * *'
env:
TARGET_ARCH: linux64
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
name: Build AVP64
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Download software
working-directory: ./sw
run: |
wget https://github.com/aut0/avp64_sw/releases/download/v2024.08.02/buildroot_6_5_6.tar.gz
tar -xvf buildroot_6_5_6.tar.gz
rm buildroot_6_5_6.tar.gz
- name: Setup Dependencies
run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq
sudo apt-get install build-essential libelf-dev libsdl2-dev libvncserver-dev libslirp-dev
- name: Configure
run: |
cmake \
-B ${{github.workspace}}/build \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-DAVP64_BUILD_TESTS=ON \
-DAVP64_BUILD_RUNNER=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j $(nproc)
- name: Test
env:
LD_LIBRARY_PATH: ${{github.workspace}}/build/ocx-qemu-arm
working-directory: ${{github.workspace}}/build
run: |
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --output-junit testreport.xml
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: ${{github.workspace}}/build/testreport.xml