Skip to content

PacketQueue: neddoc refined #63

PacketQueue: neddoc refined

PacketQueue: neddoc refined #63

Workflow file for this run

name: "Build: Linux"
on:
push:
branches:
- master
paths:
- 'src/**'
pull_request:
branches:
- master
paths:
- 'src/**'
workflow_dispatch:
# nothing
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
mode: ["debug", "release"]
steps:
- uses: actions/checkout@v3
with:
repository: omnetpp/omnetpp
path: omnetpp
- uses: actions/checkout@v3
with:
path: inet
- run: mkdir -p /home/runner/work/ccache
- uses: actions/cache@v3
with:
path: /home/runner/work/ccache
key: native-${{ matrix.mode }}-ccache-${{ github.run_id }}
# See: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
restore-keys: native-${{ matrix.mode }}-ccache
- name: Building binaries
env:
MODE: ${{ matrix.mode }}
run: |
echo "::group::Installing packages"
sudo apt update
sudo apt install -y --no-install-recommends git wget curl ca-certificates \
make ccache clang lld gdb bison flex perl doxygen graphviz libxml2-dev zlib1g-dev \
libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libz3-dev \
libopenscenegraph-dev python3
echo "::endgroup::"
source $GITHUB_WORKSPACE/inet/_scripts/github/build-omnetpp.sh
source $GITHUB_WORKSPACE/inet/_scripts/github/build-inet.sh