fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

coverage.yaml (1409B)


      1 name: Deploy static content to Pages
      2 
      3 on:
      4   push:
      5     branches: ["master"]
      6 
      7   workflow_dispatch:
      8 
      9 permissions:
     10   contents: read
     11   pages: write
     12   id-token: write
     13 
     14 concurrency:
     15   group: "pages"
     16   cancel-in-progress: true
     17 
     18 jobs:
     19   deploy:
     20     environment:
     21       name: github-pages
     22       url: ${{ steps.deployment.outputs.page_url }}
     23     runs-on: ubuntu-latest
     24     steps:
     25       - name: Checking out the code
     26         uses: actions/checkout@v3
     27       - name: Cache musl toolchain
     28         uses: actions/cache@v3
     29         id: cache-musl
     30         with:
     31           path: x86_64-linux-musl-native
     32           key: musl
     33       - name: Downloading musl-based toolchain
     34         if: steps.cache-musl.outputs.cache-hit != 'true'
     35         run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz
     36       - name: Extracting musl-based toolchain
     37         if: steps.cache-musl.outputs.cache-hit != 'true'
     38         run: tar xzf ./x86_64-linux-musl-native.tgz
     39       - name: Installing lcov
     40         run: sudo apt install lcov
     41       - name: Running the testsuite
     42         run: make -C tests clean coverage run
     43       - name: Setup Pages
     44         uses: actions/configure-pages@v3
     45       - name: Upload artifact
     46         uses: actions/upload-pages-artifact@v1
     47         with:
     48           # Upload entire repository
     49           path: './tests/coverage/'
     50       - name: Deploy to GitHub Pages
     51         id: deployment
     52         uses: actions/deploy-pages@v2
     53