-
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (40 loc) · 1.1 KB
/
ci.yml
File metadata and controls
52 lines (40 loc) · 1.1 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
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: macos-26
steps:
- uses: actions/checkout@v5
with:
submodules: 'recursive'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '24.x'
- name: Install Dependencies
run: npm install
- name: Download V8
run: ./download_v8.sh
- name: Install libffi build tools
run: brew install autoconf automake libtool texinfo
- name: Build libffi
run: npm run build-libffi
- name: Build metadata generator
run: npm run build-metagen
- name: Generate macOS metadata
run: npm run metagen macos
- name: Build NativeScript
run: npm run build
- name: Build CLI
run: npm run build:macos-cli
- name: Run Tests on macOS
run: npm run test:macos
- name: Run Tests on iOS
env:
IOS_BUILD_TIMEOUT_MS: "600000"
IOS_TEST_TIMEOUT_MS: "600000"
IOS_TEST_INACTIVITY_TIMEOUT_MS: "180000"
run: npm run test:ios