adding hostName for fast calculation of host string without parsing i… #9
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: CPP_BUILD_TEST_DOC | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
release: | |
types: | |
- published | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-project: | |
name: Build Project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/[email protected] | |
- name: Installing required packages | |
run: sudo apt install -y build-essential cmake libgtest-dev libgmock-dev | |
# - name: Configure the project | |
# uses: threeal/[email protected] | |
- name: Configure the project | |
run: cmake . -Bbuild | |
- name: Build the project | |
run: cmake --build build | |
- name: Test the project | |
run: ctest --test-dir build | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: build/*urlparser* |