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

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge commit 'a3a88140f05ffb14ae81f23cec6fd4d1b82df6ad'
  • Loading branch information
metsma committed Jan 28, 2021
2 parents 82d5f5c + a3a8814 commit 01161da
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 29 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,73 @@
name: CI
on: [push, pull_request]
env:
BUILD_NUMBER: ${{ github.run_number }}
jobs:
macos:
name: Build on macOS
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
make test
cd host-osx
make pkg
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: pkg
path: host-osx/*.pkg
ubuntu:
name: Build on Ubuntu
runs-on: ubuntu-latest
env:
MAKEFLAGS: -j3
DEBIAN_FRONTEND: noninteractive
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y make g++ qttools5-dev qttools5-dev-tools libpcsclite-dev pkg-config xvfb
- name: Build
run: make test
windows:
name: Build on Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Set ENV
uses: ilammy/msvc-dev-cmd@v1
- name: Build
run: |
nmake /nologo test
nmake /nologo pkg-unsigned
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: msi
path: ./*.msi
coverity:
name: Run Coverity tests
if: contains(github.repository, 'open-eid/chrome-token-signing') && contains(github.ref, 'coverity_scan')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y qttools5-dev qttools5-dev-tools libpcsclite-dev
- name: Build and send to Coverity
continue-on-error: true
run: |
export TRAVIS_BRANCH=${GITHUB_REF##*/}
wget -O - https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh | bash
env:
COVERITY_SCAN_PROJECT_NAME: 'open-eid/chrome-token-signing'
COVERITY_SCAN_NOTIFICATION_EMAIL: 'eid-teenusehaldus@ria.ee'
COVERITY_SCAN_BRANCH_PATTERN: 'coverity_scan'
COVERITY_SCAN_BUILD_COMMAND: 'make'
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -11,8 +11,7 @@
* © Estonian Information System Authority

## Building
[![Build Status](https://travis-ci.com/open-eid/chrome-token-signing.svg?branch=master)](https://travis-ci.com/open-eid/chrome-token-signing)
[![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)
[![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)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2449/badge.svg)](https://scan.coverity.com/projects/2449)

1. Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions debian/control
@@ -1,10 +1,10 @@
Source: chrome-token-signing
Section: web
Priority: extra
Priority: optional
Maintainer: RIA <info@ria.ee>
Build-Depends:
qtbase5-dev,
debhelper (>= 7),
debhelper (>= 10),
libpcsclite-dev,
python,
xvfb,
Expand Down

0 comments on commit 01161da

Please sign in to comment.