-
-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (31 loc) · 1.01 KB
/
ci.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
name: CI
on: [push, pull_request]
jobs:
build-lil:
name: Build lil
runs-on: ubuntu-22.04
steps:
- name: Install prerequisites
run: |
set -x
sudo apt-get update
sudo apt-get install gcc-13 ninja-build
pip3 install meson
- name: Checkout lil
uses: actions/checkout@v2
- name: Prepare build
run: |
set -x
mkdir -p build build-util
meson setup --buildtype=debugoptimized --cross-file=.github/workflows/ci.cross-file build/
meson setup --buildtype=debugoptimized --native-file=.github/workflows/ci.cross-file -Dbuild_utils=true build-util/
- name: Build lil
run: |
set -x
ninja
working-directory: build/
- name: Build lil-utils
run: |
set -x
ninja
working-directory: build-util/