-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildspec.yml
More file actions
35 lines (34 loc) · 1 KB
/
buildspec.yml
File metadata and controls
35 lines (34 loc) · 1 KB
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
version: 0.2
phases:
install:
commands:
- export OLDDIR=$PWD
- cd /opt
- aws s3 cp s3://codebuild-eu-central-1-4040-3447-3876-build-artifacts/m68k-amigaos-gcc.tar.gz .
- tar -zxf m68k-amigaos-gcc.tar.gz
- dpkg --add-architecture i386
- apt-get update
- apt-get install -y libc6:i386 libstdc++6:i386
- ls /opt/m68k-amigaos/bin/
- /opt/m68k-amigaos/bin/m68k-amigaos-gcc --version
- export PATH=$PATH:/opt/m68k-amigaos/bin
- cd $OLDDIR
pre_build:
commands:
- echo Nothing to do in the pre_build phase...
build:
commands:
- echo Build started on `date`
- ls -l
- ls -l starlight/
- make
post_build:
commands:
- echo Build completed on `date`
- mkdir starlight-demo
- cp starlight-gcc-build starlight-demo/
- cp -r img/ starlight-demo/
- tar -czvf starlight-demo.tar.gz starlight-demo/
artifacts:
files:
- starlight-demo.tar.gz