Get check for unit tests #4
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" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt-get install check | |
- run: ./configure | |
- run: make release CC=gcc | |
- run: make clean | |
- run: make debug CC=gcc | |
- run: ./bin/clhasher -ax --b64 'test_hash' | |
- run: make clean | |
build-clang: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt-get install check | |
- run: ./configure | |
- run: make release CC=clang | |
- run: make clean | |
- run: make debug CC=clang | |
- run: ./bin/clhasher -ax --b64 'test_hash' | |
- run: make clean |