Skip to content

fix: upnp is disabled #8

fix: upnp is disabled

fix: upnp is disabled #8

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
c_compiler: [gcc, clang]
include:
- c_compiler: clang
cpp_compiler: clang++
- c_compiler: gcc
cpp_compiler: g++
steps:
- uses: actions/checkout@v4
- name: Install some dependencies
run: |
sudo apt-get update
sudo apt-get install -y libcrypto++-dev
sudo apt-get install -y libwxgtk3.2-dev
- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Configure CMake
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-S ${{ github.workspace }}
- name: Build
run: cmake --build ${{ steps.strings.outputs.build-output-dir }}