-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.33 KB
/
Copy pathinteractor.yml
File metadata and controls
55 lines (49 loc) · 1.33 KB
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
52
53
54
55
name: Dart Linux Interactor
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Native build
run: |
rm -rf build || true
mkdir build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -B$(pwd)/build -S$(pwd)
cd build && make -j
- name: Dart test
run: cd test/dart && dart pub get && dart run lib/test.dart
documentation:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: 'documentation/yarn.lock'
- name: Install
run: cd documentation && yarn install --frozen-lockfile --non-interactive
- name: Build
run: cd documentation && yarn build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload
uses: actions/upload-pages-artifact@v2
with:
path: documentation/build
- name: Deployment
id: deployment
uses: actions/deploy-pages@v2