aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ufuzz.yml
blob: c2d63a4a48d050a7322d023951fa12853ac82fee (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Fuzzing
on:
  schedule:
    - cron: "*/15 * * * *"
jobs:
  ufuzz:
    strategy:
      fail-fast: false
      matrix:
        os: [ ubuntu-latest, windows-latest ]
    name: ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v1
      - name: Perform fuzzing
        shell: bash
        run: |
          git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
          while !(. ~/.nvs/nvs.sh add 10); do
            cd ~/.nvs
            git clean -xdf
            cd -
          done
          . ~/.nvs/nvs.sh --version
          nvs use 10
          node --version
          npm config set audit false
          npm config set optional false
          npm config set save false
          npm config set update-notifier false
          npm --version
          while !(npm install); do echo "'npm install' failed - retrying..."; done;
          node test/ufuzz/job 3600000