-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (28 loc) · 791 Bytes
/
ci.yml
File metadata and controls
37 lines (28 loc) · 791 Bytes
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
name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Fetch r8e engine
run: |
mkdir -p engine
git clone --depth 1 --branch v0.1.0 https://github.com/lightshell-dev/r8e.git engine/r8e
- name: Build r8e
run: cd engine/r8e && make release
- name: Run r8e tests
run: cd engine/r8e && make test
- name: Build LightShell
run: make
- name: Build CLI
run: cd cli && make
- name: Test CLI
run: |
build/lightshell --help
build/lightshell doctor || true
build/lightshell init test-app
ls test-app/lightshell.json
rm -rf test-app