build: generate CDepsConfig.cmake
during build (#180)
#319
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build-project: | |
name: Build Project | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4.2.1 | |
- name: Configure Project | |
uses: threeal/cmake-action@v2.0.0 | |
with: | |
run-build: false | |
- name: Install Project | |
run: cmake --install build --prefix install | |
- name: Upload Project | |
uses: actions/upload-artifact@v4.4.3 | |
with: | |
name: CDeps | |
path: install | |
if-no-files-found: error | |
overwrite: true |