-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (55 loc) · 1.69 KB
/
build-release-manual-test.yaml
File metadata and controls
58 lines (55 loc) · 1.69 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
56
57
58
name: Zombienet Packages Build Release Manual
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch
jobs:
build_release_for_linux:
name: build_release_for_linux
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup node
uses: actions/setup-node@v5
with:
node-version: '16'
working-directory: './javascript'
- run: npm install
working-directory: "./javascript"
- run: npm run build
working-directory: "./javascript"
- run: npm run package:linux
working-directory: "./javascript"
- run: ls ./bins
working-directory: "./javascript"
- name: Test if zombienet-linux runs
run: ./bins/zombienet-linux-x64 version
working-directory: "./javascript"
build_release_for_mac:
name: build_release_for_mac
needs: build_release_for_linux
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup node
uses: actions/setup-node@v5
with:
node-version: '16'
working-directory: './javascript'
- run: npm install && npm update
working-directory: "./javascript"
- run: npm run build
working-directory: "./javascript"
- run: npm run package:macos
working-directory: "./javascript"
- name: Test if zombienet-mac runs
run: ./bins/zombienet-macos version
working-directory: "./javascript"