-
-
Notifications
You must be signed in to change notification settings - Fork 6
54 lines (49 loc) · 1.29 KB
/
fuzzr.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: fuzzr
on:
push:
branches:
- master
- v*
tags:
- AXCIOMA-v*
pull_request:
branches:
- master
- v*
schedule:
- cron: '0 1 * * SUN'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
X11_BASE_ROOT: ${{ github.workspace }}/axcioma
X11_BRANCH: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- if: contains(fromJson('["pull_request", "pull_request_target"]'), github.event_name) && github.repository_owner == 'RemedyIT'
run: |
echo "X11_BRANCH=${{ github.base_ref }}" >> $GITHUB_ENV
- if: contains(fromJson('["pull_request", "pull_request_target"]'), github.event_name) == false && github.repository_owner == 'RemedyIT'
run: |
echo "X11_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: checkout axcioma
uses: actions/checkout@v4
with:
repository: RemedyIT/axcioma
path: ${{ env.X11_BASE_ROOT }}
ref: ${{ env.X11_BRANCH }}
- name: install fuzzr gem
run: |
gem install fuzzr
- name: Run fuzzr
run: |
fuzz -P $X11_BASE_ROOT/bin/fuzzers