before re-uploading, check the upload id is valid. #42
This file contains hidden or 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: Ubuntu (clang) | |
| on: | |
| push: | |
| branches: [ master, develop ] | |
| pull_request: | |
| branches: [ master, develop ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| mode: [ Debug, Release ] | |
| cpp_version: [11, 20] | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: check out | |
| uses: actions/checkout@v3 | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install curl libssl-dev libcurl4-openssl-dev | |
| - name: configure cmake | |
| run: CXX=clang++ CC=clang cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DCMAKE_CXX_STANDARD=${{ matrix.cpp_version }} | |
| - name: build project | |
| run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.mode }} | |