Import upstream version 0.1.6+git20210713.1.c30ecaa
Debian Janitor
2 years ago
|
0 |
name: Build
|
|
1 |
|
|
2 |
on:
|
|
3 |
push:
|
|
4 |
branches: [ master ]
|
|
5 |
pull_request:
|
|
6 |
branches: [ master ]
|
|
7 |
|
|
8 |
env:
|
|
9 |
BUILD_TYPE: Release
|
|
10 |
|
|
11 |
jobs:
|
|
12 |
build:
|
|
13 |
runs-on: ubuntu-latest
|
|
14 |
|
|
15 |
steps:
|
|
16 |
- uses: actions/checkout@v2
|
|
17 |
|
|
18 |
- name: Setup
|
|
19 |
run: sudo apt-get install qtbase5-dev xvfb
|
|
20 |
|
|
21 |
- name: Build
|
|
22 |
run: |
|
|
23 |
mkdir build && cd build
|
|
24 |
cmake .. -DBUILD_TESTS=ON && make VERBOSE=1
|
|
25 |
|
|
26 |
- name: Test
|
|
27 |
working-directory: ${{github.workspace}}/build
|
|
28 |
run: xvfb-run make test CTEST_OUTPUT_ON_FAILURE=1
|
0 | |
language: cpp
|
1 | |
compiler: gcc
|
2 | |
sudo: required
|
3 | |
dist: trusty
|
4 | |
|
5 | |
before_install:
|
6 | |
- sudo add-apt-repository ppa:beineri/opt-qt594-trusty -y
|
7 | |
- sudo apt-get update -qq
|
8 | |
|
9 | |
install:
|
10 | |
- sudo apt-get -y install qt59base
|
11 | |
- source /opt/qt*/bin/qt*-env.sh
|
12 | |
|
13 | |
jobs:
|
14 | |
include:
|
15 | |
- stage: build
|
16 | |
script:
|
17 | |
- mkdir build
|
18 | |
- cd build
|
19 | |
- cmake ..
|
20 | |
- make VERBOSE=1
|
21 | |
- stage: test
|
22 | |
script:
|
23 | |
- mkdir build
|
24 | |
- cd build
|
25 | |
- cmake .. -DBUILD_TESTS=ON
|
26 | |
- make
|
27 | |
- xvfb-run make test CTEST_OUTPUT_ON_FAILURE=1
|
0 | |
# kColorPicker [![Build Status](https://travis-ci.org/ksnip/kColorPicker.svg?branch=master)](https://travis-ci.org/ksnip/kColorPicker)
|
|
0 |
# kColorPicker [![Build Status][github-badge]][github-url]
|
1 | 1 |
QToolButton with color popup menu with lets you select a color. The popup features a color dialog button which can be used to add custom colors to the popup menu.
|
2 | 2 |
|
3 | 3 |
Version 0.1.6
|
|
33 | 33 |
|
34 | 34 |
2. Link the library with your application
|
35 | 35 |
`target_link_libraries(myApp kColorPicker)`
|
|
36 |
|
|
37 |
|
|
38 |
[github-badge]: https://github.com/ksnip/kColorPicker/actions/workflows/build.yml/badge.svg
|
|
39 |
[github-url]: https://github.com/ksnip/kColorPicker/actions⏎
|