5GC Service Consumers Release v2.0.0 #9
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: C/C++ CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: prerequisites | |
| run: sudo apt-get -y install git ninja-build build-essential flex bison libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson python3-pip && sudo python3 -m pip install --break-system-packages --upgrade meson | |
| - name: configure | |
| run: meson setup --prefix="$GITHUB_WORKSPACE/install" "$GITHUB_WORKSPACE/build" | |
| - name: make | |
| run: ninja -C "$GITHUB_WORKSPACE/build" | |
| - name: test installation | |
| run: ninja -C "$GITHUB_WORKSPACE/build" install |