Skip to content

Update FLTK to 1.4.0 #122

Update FLTK to 1.4.0

Update FLTK to 1.4.0 #122

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install dependencies
run: |
sudo apt-get install -y git zlib1g-dev libpng-dev libxpm-dev libx11-dev libxft-dev libxinerama-dev libfontconfig1-dev x11proto-xext-dev libxrender-dev libxfixes-dev
- name: Checkout FLTK
uses: actions/checkout@master
with:
path: lib/fltk
repository: fltk/fltk
ref: release-1.4.0
fetch-depth: 1
- name: Install FLTK
working-directory: lib/fltk
run: |
cmake -D CMAKE_INSTALL_PREFIX="$(realpath "$PWD/../..")" -D CMAKE_BUILD_TYPE=Release -D FLTK_GRAPHICS_CAIRO=1 -D FLTK_BACKEND_WAYLAND=0 -D FLTK_USE_SYSTEM_LIBPNG=0 -D FLTK_USE_SYSTEM_ZLIB=0
make
make install
- name: Build
run: |
make