update to hacl 309736b87a124ad1bdc2dc34e7768568039639e5 #948
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: Test Coveralls | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths-ignore: | |
- .gitignore | |
- CLA.md | |
- CODE_OF_CONDUCT.md | |
- CONTRIBUTING.md | |
- cpu-features.md | |
- LICENSE | |
- LICENSE-APACHE | |
- README.md | |
pull_request: | |
# Can't use an YAML anchor because "Anchors are not currently supported." (GitHub 12/07/2022) | |
paths-ignore: | |
- .gitignore | |
- CLA.md | |
- CODE_OF_CONDUCT.md | |
- CONTRIBUTING.md | |
- cpu-features.md | |
- LICENSE | |
- LICENSE-APACHE | |
- README.md | |
workflow_dispatch: | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | Update | |
run: sudo apt-get update | |
- name: Setup | Install Ninja | |
run: sudo apt-get install ninja-build | |
- name: Setup | Install Clang | |
run: | | |
sudo apt-get install clang-11 | |
echo "CC=clang-11" >> $GITHUB_ENV | |
echo "CXX=clang++-11" >> $GITHUB_ENV | |
- name: Setup | Install LCOV | |
run: sudo apt-get install lcov | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Add llvm-11 to PATH | |
run: | | |
echo "/usr/lib/llvm-11/bin" >> $GITHUB_PATH | |
- name: mach | Build | |
uses: ./.github/actions/mach_build | |
with: | |
bits: 64 | |
args: --coverage | |
- name: mach | Test | |
uses: ./.github/actions/mach_test | |
with: | |
bits: 64 | |
args: --coverage | |
- name: Coveralls | |
uses: coverallsapp/github-action@3284643be2c47fb6432518ecec17f1255e8a06a6 | |
with: | |
path-to-lcov: build/Debug/coverage/full/full.lcov | |
github-token: ${{ secrets.GITHUB_TOKEN }} |