Skip to content

Commit

Permalink
add tool_1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
daixtrose committed Sep 14, 2023
1 parent 3c4d9a5 commit 89bac54
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test_tool_1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Test cmake_utilities with tool_1"

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

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

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
repository: 'https://github.com/dep-heaven/tool_1'

- name: Configure CMake
# Configure CMake in a 'build' subdirectory.
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}

0 comments on commit 89bac54

Please sign in to comment.