Always create build directories relative to the project root #182
This file contains 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: macOS | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get externals | |
run: brew install boost | |
- name: Build | |
run: | | |
mkdir -p build/release && \ | |
cmake -S . -B build/release -DCMAKE_BUILD_TYPE=Release && \ | |
cmake --build build/release | |
- name: Test FTP | |
working-directory: ${{github.workspace}}/build/release/test | |
run: ./ftp_test | |
- name: Test cmdline | |
working-directory: ${{github.workspace}}/build/release/test | |
run: ./cmdline_test |