Skip to content

Commit

Permalink
attempt to build and install abseil-cpp in the runner workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Nov 7, 2024
1 parent 878a26e commit 63942fa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@ jobs:
- windows-latest
runs-on: ${{ matrix.runs-on }}
steps:
- uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2
with:
cmake-version: ${{ inputs.cmake-version }}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: abseil/abseil-cpp
path: ./_abseil-cpp/
- run: mkdir ./_abseil-cpp/build/
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: ./_abseil-cpp/build/
key: abseil-cpp-${{ runner.os }}-${{ runner.arch }}
- run: |
cmake -DCMAKE_CXX_STANDARD=${{ inputs.cmake-cxx-standard }} ..
cmake --build . --target install
cmake --install .
working-directory: ./_abseil-cpp/build/
- run: rm -rf ./_abseil-cpp/
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
Expand Down

0 comments on commit 63942fa

Please sign in to comment.