Added logistic regression test in CI
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
This commit is contained in:
parent
bc1149a421
commit
cf1dec9132
2 changed files with 38 additions and 5 deletions
25
.github/workflows/cpp_examples.yml
vendored
25
.github/workflows/cpp_examples.yml
vendored
|
|
@ -31,3 +31,28 @@ jobs:
|
|||
build-options: --parallel # Given we don't build too many resources we can leverage parallel
|
||||
- name: Run tests
|
||||
run: ./examples/array_multiplication/build/src/kompute_array_mult
|
||||
|
||||
logistc-regression-example:
|
||||
runs-on: ubuntu-latest
|
||||
container: axsauze/kompute-builder:0.4
|
||||
env:
|
||||
VK_ICD_FILENAMES: "/swiftshader/vk_swiftshader_icd.json"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- name: "[Release g++] Build & Test"
|
||||
uses: KomputeProject/action-cmake-build@master
|
||||
with:
|
||||
build-dir: ${{github.workspace}}/examples/logistic_regression/build
|
||||
source-dir: ${{github.workspace}}/examples/logistic_regression
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
build-type: Debug
|
||||
run-test: false
|
||||
ctest-options: -V
|
||||
configure-options: -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=ON KOMPUTE_OPT_FROM_SOURCE=ON
|
||||
build-options: --parallel # Given we don't build too many resources we can leverage parallel
|
||||
- name: Run tests
|
||||
run: ./examples/logistic_regression/build/src/kompute_array_mult
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue