-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 974 Bytes
/
debian-test.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
name: Download Debian ISO Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install curl
run: sudo apt-get update && sudo apt-get install -y curl
- name: Install OpenGL & X11
run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev xorg-dev
- name: Download Debian torrent
run: curl -o input/debian.torrent https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/debian-12.5.0-amd64-netinst.iso.torrent
- name: Build and run app
run: make start-cli
- name: Check output
run: |
if [ -f "output/debian-12.5.0-amd64-netinst.iso" ]; then
echo "Output file exists."
else
echo "Output file not found."
exit 1
fi
- name: Display logs
run: cat logs/*.log