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
1 parent
32c4807
commit fc1c3ba
Showing
15 changed files
with
316 additions
and
121 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
if: github.repository == 'thentenaar/mmm' | ||
strategy: | ||
matrix: | ||
CC: [gcc, clang] | ||
env: | ||
CC: ${{ matrix.CC }} | ||
runs-on: ubuntu-latest | ||
name: linux-${{ matrix.CC }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install deps | ||
run: | | ||
sudo apt install libpq-dev libmysqlclient-dev libsqlite3-dev libgit2-dev check gcovr llvm | ||
- name: Build | ||
run: | | ||
./configure | ||
make coveralls | ||
- uses: coverallsapp/github-action@v2 | ||
if: matrix.CC == 'gcc' | ||
with: | ||
format: coveralls | ||
file: ${{ github.workspace }}/test/coveralls.json | ||
compare-ref: master | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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,22 @@ | ||
name: Coverity | ||
on: | ||
push: | ||
branches: | ||
- covscan | ||
jobs: | ||
coverity: | ||
if: github.repository == 'thentenaar/mmm' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Pre-build | ||
run: | | ||
sudo apt install libpq-dev libmysqlclient-dev libsqlite3-dev libgit2-dev | ||
./configure | ||
- uses: vapier/coverity-scan-action@v1 | ||
with: | ||
project: thentenaar/mmm | ||
email: ${{ secrets.COVERITY_SCAN_EMAIL }} | ||
token: ${{ secrets.COVERITY_SCAN_TOKEN }} | ||
command: make | ||
|
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,21 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
permissions: | ||
contents: write | ||
jobs: | ||
release: | ||
if: github.repository == 'thentenaar/mmm' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- id: changelog | ||
uses: metcalfc/changelog-generator@v4.1.0 | ||
with: | ||
myToken: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: softprops/action-gh-release@v1 | ||
with: | ||
body: ${{ steps.changelog.outputs.changelog }} | ||
|
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,10 +1,10 @@ | ||
Makefile | ||
test/Makefile | ||
test/test_runner | ||
test_runner | ||
config.log | ||
config.status | ||
autom4te.cache | ||
configure~ | ||
*.o | ||
*.sw? | ||
*.gc[nd][oa] | ||
mmm |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.