-
-
Notifications
You must be signed in to change notification settings - Fork 14
51 lines (48 loc) · 1.36 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Requires scripts:
# - scripts/ci-check (in the future)
# - scripts/ci
name: wren / main
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- name: Checkout wren-console
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: joshgoebel/wren-console
path: wren-console
ref: v0.3.1
- name: Pin dependencies
shell: bash
run: |
cat wren-console/WREN_ESSENTIALS >> $GITHUB_ENV
- name: Checkout wren-essentials
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: joshgoebel/wren-essentials
path: wren-console/deps/wren-essentials
ref: ${{env.WREN_ESSENTIALS}}
- name: Build wren-console
run: |
cd wren-console
make -j4 -C projects/make/
mkdir -p $GITHUB_WORKSPACE/usr/bin
cp bin/wrenc $GITHUB_WORKSPACE/usr/bin
echo "$GITHUB_WORKSPACE/usr/bin" >> $GITHUB_PATH
- name: Checkout wren track
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
path: track
- name: Install deps and run CI
run: |
cd track
wrenc package.wren install
scripts/ci