-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
2,792 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,40 @@ | ||
name: Build, Test, and Lint | ||
on: | ||
push: | ||
branches: [ "master" ] | ||
branches: [ "refractor" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build-and-test: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: huskysat/found:latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: apt -y upgrade | ||
- run: apt install -y cmake | ||
- run: apt install -y wget | ||
- run: apt install -y tar | ||
- run: apt install -y valgrind | ||
- run: pip install cpplint | ||
- name: Build all (Twice) | ||
run: (make || make) && make clean | ||
run: (make compile || make compile) | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
container: huskysat/found:latest | ||
|
||
steps: | ||
- name: Test (Twice) | ||
run: (make test || make test) | ||
- name: Upload coverage report | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
name: Coverage Report | ||
folder: build/documentation/coverage/ | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
container: huskysat/found:latest | ||
steps: | ||
- name: Stylecheck | ||
run: make google_stylecheck | ||
- name: Test Stylecheck | ||
run: make google_stylecheck_test | ||
- name: Line Endings | ||
uses: erclu/check-crlf@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM gcc:latest | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y cmake | ||
RUN apt install -y wget | ||
RUN apt install -y tar | ||
RUN apt install -y valgrind | ||
RUN apt install -y python3 | ||
RUN apt install -y cpplint | ||
RUN apt install -y gcovr |
Oops, something went wrong.