-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (32 loc) · 951 Bytes
/
makefile.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
name: Makefile CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Update package list
run: sudo apt-get update
- name: Install dependencies
run: sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libglew-dev
- name: Download libprimis.lib artifact
uses: dawidd6/[email protected]
with:
workflow: makefile.yml
name: libprimis-linux
path: ./
repo: project-imprimis/libprimis
branch: main
- name: Install libprimis
run: sudo cp ./libprimis.so /usr/lib/libprimis.so
- name: Build
run: make -j4
- name: Clean files
run: make remove-build-files
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: imprimis-linux
path: ./*