Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaeifar committed Dec 22, 2024
1 parent c039ed0 commit 3409429
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: cmake build
name: build & test

on:
push:
branches: [ "main", "dev" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch: # This is the manual trigger

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest

steps:
Expand All @@ -41,4 +39,8 @@ jobs:
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}


# Run Unit Tests
- name: Run Unit Tests
run: |
cd ${{github.workspace}}/build/tests
./spinwalk_test

0 comments on commit 3409429

Please sign in to comment.