diff --git a/.github/workflows/linux_build_test.yml b/.github/workflows/linux_build_test.yml index ae19751..b9424cb 100644 --- a/.github/workflows/linux_build_test.yml +++ b/.github/workflows/linux_build_test.yml @@ -27,34 +27,24 @@ jobs: # ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Install libarchive - run: | - sudo apt install libarchive-dev - shell: bash - - - name: Set reusable strings - # 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=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" + run: sudo apt install libarchive-dev + shell: bash - name: Configure CMake - run: | - ls ${{ github.workspace }} - ls . - cmake -B ${{ steps.strings.outputs.build }} -S ${{ github.workspace }} + run: cmake . # run: > - # cmake -B ${{ steps.strings.outputs.build}} + # cmake -B ${{ github.workspace }}/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 ${{ steps.strings.outputs.build }} # --config ${{ matrix.build_type }} + run: cmake -B ${{ github.workspace }}/build # --config ${{ matrix.build_type }} - name: Run tests - working-directory: ${{ steps.strings.outputs.build }} - run: ctest -B ${{ steps.strings.outputs.build }} + working-directory: ${{ github.workspace }}/build + run: ctest -B ${{ github.workspace }}/build # run: ctest --build-config ${{ matrix.build_type }} - name: Build manylinux wheels