no need for strlcpy() here #100
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: latest Ubuntu-based build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: install dependencies | |
run: sudo apt-get install libncurses-dev libreadline-dev libbsd-dev | |
- name: create build directory | |
run: mkdir build | |
- name: build | |
run: | | |
cmake --trace-expand --trace-redirect=CMakeTrace.log -DCMAKE_BUILD_TYPE=Release .. | |
make VERBOSE=1 | |
working-directory: build | |
- name: archive error logs | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ubuntu-build-logs | |
path: build/**/*.log |