Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 01161da

Browse files
committed
Merge commit 'a3a88140f05ffb14ae81f23cec6fd4d1b82df6ad'
2 parents 82d5f5c + a3a8814 commit 01161da

File tree

4 files changed

+76
-29
lines changed

4 files changed

+76
-29
lines changed

.github/workflows/build.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: CI
2+
on: [push, pull_request]
3+
env:
4+
BUILD_NUMBER: ${{ github.run_number }}
5+
jobs:
6+
macos:
7+
name: Build on macOS
8+
runs-on: macos-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Build
13+
run: |
14+
make test
15+
cd host-osx
16+
make pkg
17+
- name: Archive artifacts
18+
uses: actions/upload-artifact@v2
19+
with:
20+
name: pkg
21+
path: host-osx/*.pkg
22+
ubuntu:
23+
name: Build on Ubuntu
24+
runs-on: ubuntu-latest
25+
env:
26+
MAKEFLAGS: -j3
27+
DEBIAN_FRONTEND: noninteractive
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v2
31+
- name: Install dependencies
32+
run: sudo apt-get update -qq && sudo apt-get install -y make g++ qttools5-dev qttools5-dev-tools libpcsclite-dev pkg-config xvfb
33+
- name: Build
34+
run: make test
35+
windows:
36+
name: Build on Windows
37+
runs-on: windows-latest
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v2
41+
with:
42+
submodules: 'true'
43+
- name: Set ENV
44+
uses: ilammy/msvc-dev-cmd@v1
45+
- name: Build
46+
run: |
47+
nmake /nologo test
48+
nmake /nologo pkg-unsigned
49+
- name: Archive artifacts
50+
uses: actions/upload-artifact@v2
51+
with:
52+
name: msi
53+
path: ./*.msi
54+
coverity:
55+
name: Run Coverity tests
56+
if: contains(github.repository, 'open-eid/chrome-token-signing') && contains(github.ref, 'coverity_scan')
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Checkout
60+
uses: actions/checkout@v2
61+
- name: Install dependencies
62+
run: sudo apt-get update -qq && sudo apt-get install -y qttools5-dev qttools5-dev-tools libpcsclite-dev
63+
- name: Build and send to Coverity
64+
continue-on-error: true
65+
run: |
66+
export TRAVIS_BRANCH=${GITHUB_REF##*/}
67+
wget -O - https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh | bash
68+
env:
69+
COVERITY_SCAN_PROJECT_NAME: 'open-eid/chrome-token-signing'
70+
COVERITY_SCAN_NOTIFICATION_EMAIL: 'eid-teenusehaldus@ria.ee'
71+
COVERITY_SCAN_BRANCH_PATTERN: 'coverity_scan'
72+
COVERITY_SCAN_BUILD_COMMAND: 'make'
73+
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
* © Estonian Information System Authority
1212

1313
## Building
14-
[![Build Status](https://travis-ci.com/open-eid/chrome-token-signing.svg?branch=master)](https://travis-ci.com/open-eid/chrome-token-signing)
15-
[![Build Status](https://ci.appveyor.com/api/projects/status/github/open-eid/chrome-token-signing?branch=master&svg=true)](https://ci.appveyor.com/project/open-eid/chrome-token-signing)
14+
[![Build Status](https://github.com/open-eid/chrome-token-signing/workflows/CI/badge.svg?branch=master)](https://github.com/open-eid/chrome-token-signing/actions)
1615
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2449/badge.svg)](https://scan.coverity.com/projects/2449)
1716

1817
1. Install dependencies

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Source: chrome-token-signing
22
Section: web
3-
Priority: extra
3+
Priority: optional
44
Maintainer: RIA <info@ria.ee>
55
Build-Depends:
66
qtbase5-dev,
7-
debhelper (>= 7),
7+
debhelper (>= 10),
88
libpcsclite-dev,
99
python,
1010
xvfb,

0 commit comments

Comments
 (0)