diff --git a/.github/workflows/.ci.yml b/.github/workflows/.ci.yml new file mode 100644 index 0000000..b7163a9 --- /dev/null +++ b/.github/workflows/.ci.yml @@ -0,0 +1,29 @@ +name: ci +on: + pull_request: + push: + tags: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Setup Cpp + uses: aminya/setup-cpp@v1 + + - name: Build and test + run: make test + + - name: Linear algebra example + run: make -C examples/linear_algebra test + + - name: Resample example + run: make -C examples/resample benchmark diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4afd11b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: cpp -install: make -os: linux -compiler: clang - -addons: - apt: - packages: - - doxygen -script: - - make test - - make cuda_build_test - - make -C examples/linear_algebra test - - make -C examples/resample benchmark - - doxygen Doxyfile - -deploy: - provider: pages - skip_cleanup: true - local_dir: docs/html - github_token: $GH_REPO_TOKEN - on: - branch: master