Skip to content

Build on Ubuntu 24.04 #11

Build on Ubuntu 24.04

Build on Ubuntu 24.04 #11

Workflow file for this run

name: Ubuntu
run-name: Build on Ubuntu 24.04
on: [push, pull_request]
jobs:
GCC-13:
runs-on: ubuntu-24.04
#runs-on: ubuntu-latest
steps:
- run: sudo add-apt-repository ppa:ubuntu-toolchain-r/test
- run: sudo apt-get -y install libjpeg8-dev libpng-dev libasound2-dev libx11-dev libxft-dev libxcursor-dev cmake xvfb
#- run: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
- run: g++ -v
- name: Check out repository code
uses: actions/checkout@v4
# we are in /home/runner/work/nana/nana
- run: git clone --depth=1 --branch=dev_dpi_system https://github.com/qPCR4vir/nana-demo.git nana-demo
working-directory: ../
- run: mkdir nana-demo-build
working-directory: ../
- run: cmake -G"Unix Makefiles" ../nana-demo -DCMAKE_INSTALL_PREFIX=.. -DNANA_CMAKE_ENABLE_JPEG=ON -DNANA_CMAKE_FIND_BOOST_FILESYSTEM=OFF -DNANA_CMAKE_AUTOMATIC_GUI_TESTING=ON -DNANA_CMAKE_INSTALL=OFF
working-directory: ../nana-demo-build
- run: make install
working-directory: ../nana-demo-build
- name: Setup xvfb for screen 0
run: Xvfb :1 -screen 0 1600x1200x24 &
- run: ctest --verbose
working-directory: ../nana-demo-build
env:
DISPLAY: :1
- run: ls
working-directory: ../nana-demo-build
- run: ls -lh
working-directory: ../nana-test/bin
- run: echo "This job's status is ${{ job.status }}."