forked from LoveRetro/NextUI
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (45 loc) · 1.19 KB
/
dev.yaml
File metadata and controls
57 lines (45 loc) · 1.19 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
name: Development/Desktop
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
pull_request: {}
permissions:
attestations: write
contents: read
id-token: write
jobs:
build-macos:
runs-on: macos-latest
env:
PLATFORM: desktop
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Install dependencies
run: |
brew install gcc make sdl2_image sdl2_ttf libzip libsamplerate cmake
sudo ./workspace/desktop/macos_create_gcc_symlinks.sh
- name: Setup
run: make setup
- name: Build
run: make common PLATFORM=${{ env.PLATFORM }}
build-linux:
runs-on: ubuntu-24.04-arm
env:
PLATFORM: desktop
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsdl2-image-dev libsdl2-ttf-dev
sudo apt-get install -y libzip-dev liblzma-dev libzstd-dev libbz2-dev zlib1g-dev
sudo apt-get install -y cmake
- name: Setup
run: make setup
- name: Build
run: make common PLATFORM=${{ env.PLATFORM }}