-
Notifications
You must be signed in to change notification settings - Fork 38
53 lines (45 loc) · 1.45 KB
/
build-checkpoint-creator-loader.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
name: Build Checkpoint Creator and Loader
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-checkpoint-creator:
runs-on: ${{ matrix.os }}
strategy:
matrix:
#os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-18.04, ubuntu-20.04]
gcc: [9]
steps:
- 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
# Check out scarab repo
- uses: actions/checkout@v2
with:
path: scarab
- name: Build Checkpoint Creator
env:
PIN_ROOT: ${{ github.workspace }}/scarab-dependencies/pinplay-drdebug-3.5-pin-3.5-97503-gac534ca30-gcc-linux
run: |
CC="gcc-${{ matrix.gcc }}"
CXX="g++-${{ matrix.gcc }}"
${CC} --version
${CXX} --version
CC=${CC} CXX=${CXX} make -C scarab/utils/checkpoint/creator/
- name: Build Checkpoint Loader
run: |
CC="gcc-${{ matrix.gcc }}"
CXX="g++-${{ matrix.gcc }}"
${CC} --version
${CXX} --version
make CC=${CC} CCC=${CXX} -C scarab/utils/checkpoint/loader/