Skip to content

fix: add missing [[nodiscard]] #400

fix: add missing [[nodiscard]]

fix: add missing [[nodiscard]] #400

Workflow file for this run

name: Linux
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get externals
run: sudo apt-get install g++-10 libboost-all-dev
- name: Build
run: |
mkdir -p build/release
cmake -S . -B build/release -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-10
cmake --build build/release
- name: Test libftp
env:
LIBFTP_TEST_SERVER_PATH: ${{github.workspace}}/test/server/server.py
working-directory: ${{github.workspace}}/build/release/test
run: ./ftp_tests
- name: Test cmdline
working-directory: ${{github.workspace}}/build/release/app/cmdline/test
run: ./cmdline_tests