Skip to content

Used original build command for src files #18

Used original build command for src files

Used original build command for src files #18

Workflow file for this run

name: Build, Test, and Lint
on:
push:
branches: [ "refractor" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
container: nguy8tri/huskysat:latest
steps:
- uses: actions/checkout@v3
- name: Build all (Twice)
run: (make compile || make compile)
test:
runs-on: ubuntu-latest
container: nguy8tri/huskysat:latest
steps:
- uses: actions/checkout@v3
- name: Test (Twice)
run: (make test || make test)
lint:
runs-on: ubuntu-latest
container: nguy8tri/huskysat:latest
steps:
- uses: actions/checkout@v3
- name: Stylecheck
run: make google_stylecheck
- name: Test Stylecheck
run: make google_stylecheck_test
- name: Line Endings
uses: erclu/check-crlf@v1
coverage:
runs-on: ubuntu-latest
container: nguy8tri/huskysat:latest
steps:
- uses: actions/checkout@v3
- name: Coverage (Twice)
run: (make coverage || make coverage)
- name: Upload Coverage Report
uses: actions/upload-artifact@v3
with:
name: Coverage Report
path: build/documentation/coverage
- name: Deploy coverage to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
name: Coverage Report
branch: documentation
folder: build/documentation/coverage
folder-path: coverage
doxygen:
runs-on: ubuntu-latest
container: nguy8tri/huskysat:latest
steps:
- uses: actions/checkout@v3
- name: Doxygen
run: make doxygen_generate
- name: Install rsync
run: apt install -y rsync
- name: Upload Doxygen Documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
name: Doxygen Documentation
branch: documentation
folder: build/documentation/doxygen/html
folder-path: doxygen