-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline3.yml
36 lines (32 loc) · 1.05 KB
/
pipeline3.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
jobs:
- name: coredump
public: true
plan:
- task: execute-the-tasks
config:
platform: linux
image_resource:
type: docker-image
source: {
repository: ubuntu,
tag: 20.04
}
run:
path: /bin/bash
args:
- "-e"
- "-c"
- |
set -x
apt-get update
apt-get install git -y
apt-get install gcc -y
apt-get install libleveldb-dev -y
apt-get install openssh-client -y
ssh-keygen -q -t rsa -N '' -f /root/.ssh/id_rsa
echo 'ulimit -c unlimited' >> ~/.bash_profile
source ~/.bash_profile
cat /root/.ssh/id_rsa.pub
git clone https://github.com/abcdabcd3899/Computer-Systems-Labs
cd Computer-Systems-Labs/gdb_test
gcc -o test test3.c