-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.38 KB
/
amiga_demo.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
name: Amiga Demo
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
amiga_build:
name: Build Demo for AmigaOS
runs-on: ubuntu-24.04
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Install Python dependencies
run: |
python3 -m venv venv
./venv/bin/python3 -m pip install --upgrade pip setuptools wheel
./venv/bin/python3 -m pip install amitools Pillow
- name: Update apt package index
run: sudo apt update
- name: Install apt package dependencies
run: sudo apt install -y gimp netpbm
- name: Install ipng2iff
run: |
git clone https://github.com/m0ppers/ipng2iff
cd ipng2iff
cargo build -r
sudo cp target/release/ipng2iff /usr/local/bin/
- name: Install salvador (zx0 packer)
run: |
git clone https://github.com/emmanuel-marty/salvador.git
cd salvador
make -j$(nproc)
sudo cp salvador /usr/local/bin/
- name: Build ADF using make
run: |
source venv/bin/activate
make adf XDF_TOOL=venv/bin/xdftool
- name: Upload ADF artifact(s)
uses: actions/upload-artifact@v4
with:
name: amiga_demo_adf
path: ./*.adf