-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
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=develop 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 }}." |
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