* NEW Pass filepath of log file from cmake to binary. #130
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: nftp-test | |
on: | |
push: | |
branch: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: install lib | |
run: | | |
sudo apt update | |
sudo apt install -y cmake | |
sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
- uses: actions/checkout@v2 | |
- name: build nftp | |
run: | | |
mkdir -p build | |
cd build | |
cmake -DDEBUG=ON -DTEST=ON .. | |
make | |
- name: nftp test | |
run: | | |
./build/test | |
rm -f ./demo.txt ./build/demo.txt | |