-
Notifications
You must be signed in to change notification settings - Fork 38
41 lines (37 loc) · 996 Bytes
/
make.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
name: make
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt-get install meson shellcheck scdoc python3-hatchling python3-build python3-installer python3-filelock cargo
- name: Initialize submodules
run: |
git submodule update --init --recursive
- name: Lint using Shellcheck
run: |
shellcheck configure.sh
- name: Make system package
run: |
./configure.sh --prefix=/usr
make DESTDIR=dist install
- name: Make release
run: |
# TODO: Figure out release without requiring root
sudo make release
- name: Make user install
run: |
./configure.sh --user-install
# TODO: Figure out user install without requiring root
sudo make install