Skip to content

Commit

Permalink
action test
Browse files Browse the repository at this point in the history
  • Loading branch information
Udopia committed Feb 29, 2024
1 parent b599580 commit 2643c29
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/linux_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,27 @@ jobs:
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
run: echo "build=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"

- name: Configure CMake
run: cmake -B build -S .
run: |
ls ${{ github.workspace }}
ls .
ls ${{ steps.strings.outputs.build }}
cmake -B ${{ steps.strings.outputs.build }} -S ${{ github.workspace }}
# run: >
# cmake -B ${{ steps.strings.outputs.build-output-dir }}
# cmake -B ${{ steps.strings.outputs.build}}
# -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
# -DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
# -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
# -S ${{ github.workspace }}

- name: Build
run: cmake -B build
# run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
run: cmake -B ${{ steps.strings.outputs.build }} # --config ${{ matrix.build_type }}

- name: Run tests
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: ctest -B build
working-directory: ${{ steps.strings.outputs.build }}
run: ctest -B ${{ steps.strings.outputs.build }}
# run: ctest --build-config ${{ matrix.build_type }}

- name: Build manylinux wheels
Expand Down

0 comments on commit 2643c29

Please sign in to comment.