bpersec: rework, fix bugs #662
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: build | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- src/** | |
- Makefile | |
- .github/** | |
pull_request: | |
branches: | |
- master | |
paths: | |
- src/** | |
- Makefile | |
- .github/** | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dep | |
run: | | |
sudo apt-get update --fix-missing | |
sudo apt-get -y install libmagic-dev moreutils libbsd-dev cargo | |
git submodule update --init --recursive | |
- name: build | |
run: | | |
make install | |
make uninstall | |
- name: sudo-build | |
run: | | |
sudo make install | |
- name: test | |
run: | | |
make test | |
- name: sudo-test | |
run: | | |
sudo make test |