Skip to content

Commit

Permalink
Remove deprecated Travis CI in favor of GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-k committed Aug 14, 2024
1 parent 8f7db63 commit bea7e3f
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 30 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Doxygen

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Install packages
run: sudo apt-get install -y doxygen doxygen-doc doxygen-latex doxygen-gui graphviz
- name: Build documentation
run: cd ${{ github.workspace }}/doc && make
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: doc/html

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MatchLib
========
[![Build Status](https://travis-ci.org/NVlabs/matchlib.svg?branch=master)](https://travis-ci.org/NVlabs/matchlib)
[![GitHub Pages](https://github.com/NVlabs/matchlib/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/NVlabs/matchlib/actions/workflows/gh-pages.yml)

MatchLib is a SystemC/C++ library of commonly-used hardware functions and components that can
be synthesized by most commercially-available HLS tools into RTL.
Expand Down

0 comments on commit bea7e3f

Please sign in to comment.