-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
35 lines (34 loc) · 1.41 KB
/
.gitlab-ci.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
stages: # List of stages for jobs, and their order of execution
- build
build-job:
stage: build
variables:
GIT_SUBMODULE_STRATEGY: normal
before_script:
#- apk add --update curl && rm -rf /var/cache/apk/*
- apt update
- apt-get install -y wget unzip python3
- wget -O /tmp/p8.dsk http://mirrors.apple2.org.za/ftp.apple.asimov.net/images/masters/prodos/ProDOS_2_4_2.dsk
- wget https://raw.githubusercontent.com/digarok/dsk2po/master/dsk2po.py
- python3 dsk2po.py /tmp/p8.dsk || true
- ls -al /tmp
- wget -O /tmp/merlin.zip https://github.com/digarok/merlin32/releases/download/v1.1.10/merlin32-ubuntu-latest-v1.1.10.zip
- unzip -o /tmp/merlin.zip -d /tmp
- wget -O /tmp/cadius.zip https://github.com/digarok/cadius/releases/download/0.0.0/cadius-ubuntu-latest-0.0.0.zip
- unzip -o /tmp/cadius.zip -d /tmp
- wget -O /tmp/appy.tar.gz https://github.com/digarok/Appy/releases/download/v0.0.0/appy_0.0.0_Linux_64bit.tar.gz
- tar -xzf /tmp/appy.tar.gz --directory /tmp
- mv /tmp/merlin32 /tmp/cadius /tmp/appy /usr/local/bin/
- cadius extractvolume /tmp/p8.po ..
script:
- echo "SENSEIPLAY BUILD STAGE"
- uptime
- mv appy.user.yaml.gitlab appy.user.yaml
# - apk add --no-cache git openssh
# - git submodule init
# - git submodule update
- appy build
artifacts:
paths:
- senseiplay800.2mg
expire_in: 1 week