Skip to content

Commit

Permalink
Add github CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jan 19, 2024
1 parent ef97a52 commit 3299f7d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cmake . -DCMAKE_VERBOSE_MAKEFILE=yes -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cargo build
- name: Test
run: cargo test
# if: ${{ contains(matrix.features, 'coverage') }}
# uses: codecov/codecov-action@v3
# with:
# fail_ci_if_error: true
# gcov: true

0 comments on commit 3299f7d

Please sign in to comment.