-
Notifications
You must be signed in to change notification settings - Fork 32
37 lines (31 loc) · 861 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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: fltk
repository: fltk/fltk
ref: release-1.3.7
fetch-depth: 1
- name: Install FLTK
working-directory: fltk
run: |
./autogen.sh --prefix="$PWD/.." --with-abiversion=10307
make
make install
- name: Build
run: |
export PATH="$PWD/bin:$PATH"
make