Skip to content

Changing FLTK from Fl_Simple_Terminal to Fl_Terminal #342

Changing FLTK from Fl_Simple_Terminal to Fl_Terminal

Changing FLTK from Fl_Simple_Terminal to Fl_Terminal #342

Workflow file for this run

name: CI Ubuntu
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get dependencies
run: |
sudo apt-get install -y libpulse-dev ninja-build libbsd-dev
wget --no-check-certificate -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main'
sudo apt-get update
sudo apt-get install clang-format-13
- name: Get sources
uses: actions/checkout@v2
- name: Get FLTK
uses: actions/checkout@v2
with:
repository: fltk/fltk
path: fltk
- name: Get newt64
uses: actions/checkout@v2
with:
repository: MatthiasWM/NEWT64
path: newt64
- name: Compile FLTK
run: |
cmake -S fltk -B fltk/build \
-D OPTION_USE_SYSTEM_LIBJPEG=Off \
-D OPTION_USE_SYSTEM_ZLIB=Off \
-D OPTION_USE_SYSTEM_LIBPNG=Off \
-D FLTK_BUILD_TEST=Off \
-D OPTION_USE_GL=Off
cmake --build fltk/build
sudo cmake --install fltk/build
- name: Compile newt64
run: |
cmake -S newt64 -B newt64/build
cmake --build newt64/build
sudo cmake --install newt64/build
- name: Configure Einstein
run: |
cmake -S . -B _Build_/Makefiles
- name: Check format
run: |
cmake --build _Build_/Makefiles --target clang-format-check
- name: Compile Einstein
run: |
cmake --build _Build_/Makefiles
- name: Run tests
run: |
_Build_/Makefiles/EinsteinTests