-
Notifications
You must be signed in to change notification settings - Fork 40
51 lines (46 loc) · 1.42 KB
/
test-make-release.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
name: make-release
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Cache for Scarab Dependencies
id: cache-scarab-dep
uses: actions/cache@v1
env:
cache-name: cache-scarab-dep
with:
path: scarab-dependencies
key: scarab-dep-key
- name: Install Scarab Dependencies
id: install-scarab
if: steps.cache-scarab-dep.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: scarab-dependencies
repository: hpsresearchgroup/scarab-dependencies
token: ${{ secrets.HPS_ACCESS_TOKEN }}
env:
PIN_ROOT: $(pwd)/scarab-dependencies/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux
- uses: actions/checkout@v2
with:
path: scarab
- name: make release
run: |
make clean -C scarab/src
make dbg -j -C scarab/src
make opt -j -C scarab/src
env:
PIN_ROOT: ${{ github.workspace }}/scarab-dependencies/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux
# - name: test qsort
# run: |
# pip install -r scarab/bin/requirements.txt
# cd scarab/utils/qsort; make; python3 scarab_test_qsort.py tmp
# env:
# PIN_ROOT: ${{ github.workspace }}/scarab-dependencies/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux