mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
move from Travis CI to GitHub Actions
This commit is contained in:
parent
3acb239918
commit
ff120c7fee
34
.github/workflows/c.yml
vendored
Normal file
34
.github/workflows/c.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: C
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout libixp
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 0intro/libixp
|
||||
path: libixp
|
||||
|
||||
- name: Build libixp
|
||||
working-directory: ./libixp
|
||||
run: sudo make install
|
||||
|
||||
- name: Dependencies
|
||||
run: sudo apt-get -y install libxinerama-dev libxrandr-dev txt2tags
|
||||
|
||||
- name: make clean
|
||||
run: make clean
|
||||
|
||||
- name: make
|
||||
run: make
|
29
.github/workflows/coverity.yml
vendored
Normal file
29
.github/workflows/coverity.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Coverity Scan
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
coverity:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout libixp
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 0intro/libixp
|
||||
path: libixp
|
||||
|
||||
- name: Build libixp
|
||||
working-directory: ./libixp
|
||||
run: sudo make install
|
||||
|
||||
- name: Dependencies
|
||||
run: sudo apt-get -y install libxinerama-dev libxrandr-dev txt2tags
|
||||
|
||||
- uses: vapier/coverity-scan-action@v1
|
||||
with:
|
||||
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
31
.travis.yml
31
.travis.yml
@ -1,31 +0,0 @@
|
||||
language: c
|
||||
|
||||
env:
|
||||
global:
|
||||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
||||
# via the "travis encrypt" command using the project repo's public key
|
||||
- secure: "nJd2Zlm34sbNfH+pz/pVMr6+N5IaChlGKs+qR+b2an3hZLxbMYRpeIl75VJWuGNxfrLbNXwnzyo6PcnDp+jlNl92XQSjv9KI2hDbUX6Akek/IrV+Fob7L+yvmHqHHH4b/wBg56IyLJ/KbO651Ay3AF6asM3IaQWrfTnoGMr63k777c1jylm4LsrKGswmHGMSrpH/awUH+SEfQ7Lfkk34PL3TD+fP4bFO53EtfguCDnmw8HBGFjcRBVyY9M2yByYebRjWCmzN2vDgeU7nkxgDGi3MzMgAnl0SB2UAphIPojAGyGyAs2Nn27FprrAWTD0rP0VVfpREgAhog2gM3145LfFCJlDAL9Zystb/L7nQe3nz1tlDiUK0IDy8Z/wKAl0YWLA2bJ/KTIG3Tdy37efBpABCTRvwnBnIhvl3eDNRVt/QTZD2Jr+DbTAxV13bk3duevlKD5M8Oa8RoM6yAJNuA4uECzyb+1okYS2o9FaJMawPs0ly++Qv0OJMHW8MdNgH2sgyKt5/+o5HlA0zzbhS1nv6I9Vj//8DzFfCHJ/2b7PW8fl2Xkk3qgpJ44OMHOaYBVisHFJda5aT42Xng2l5De5VeS/3LuRtp72qeMGex8DN3TyxMgc/wHKlnCVhWEuUvLeC8d10S0OH/KKfroGE1QtbvfFINqGItKsJW8r5D8s="
|
||||
|
||||
before_install:
|
||||
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- txt2tags libxinerama-dev libxrandr-dev
|
||||
coverity_scan:
|
||||
project:
|
||||
name: "0intro/wmii"
|
||||
description: "Build submitted via Travis CI"
|
||||
notification_email: 0intro@gmail.com
|
||||
build_command_prepend: "make clean"
|
||||
build_command: "make"
|
||||
branch_pattern: master
|
||||
|
||||
before_script:
|
||||
- git clone https://github.com/0intro/libixp
|
||||
- cd libixp && make && sudo make install && cd ..
|
||||
|
||||
script:
|
||||
- make clean
|
||||
- make
|
@ -1,4 +1,4 @@
|
||||
[![Build Status](https://travis-ci.org/0intro/wmii.svg?branch=master)](https://travis-ci.org/0intro/wmii)
|
||||
[![Build Status](https://github.com/0intro/wmii/workflows/C/badge.svg)](https://github.com/0intro/wmii/actions/workflows/c.yml)
|
||||
[![Coverity Scan Build Status](https://scan.coverity.com/projects/0intro-wmii/badge.svg)](https://scan.coverity.com/projects/0intro-wmii)
|
||||
|
||||
Abstract
|
||||
|
Loading…
Reference in New Issue
Block a user