Skip to content

Try to use another syntax for running GitHub Actions for all branches #125

Try to use another syntax for running GitHub Actions for all branches

Try to use another syntax for running GitHub Actions for all branches #125

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 build && cd build && \
cmake .. -D CMAKE_CXX_COMPILER=g++-10 && \
cmake --build .
- name: Test FTP
working-directory: ${{github.workspace}}/build/test/bin
run: ./ftp_test
- name: Test cmdline
working-directory: ${{github.workspace}}/build/test/bin
run: ./cmdline_test