Add Docker workflow for building and pushing images #45
Workflow file for this run
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: Memory Sanitizer | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Ubuntu Install Deps | |
run: sudo apt-get update && sudo apt-get install -y libunbound-dev | |
- name: Build | |
run: ./autogen.sh && ./configure --with-network=regtest --with-sanitizers=address && make | |
- name: Unit Tests | |
run: ./test_hnsd | |
- name: Setup Integration | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Integration Tests | |
working-directory: ./integration | |
run: | | |
npm install | |
npm run test |