This repository was archived by the owner on Aug 9, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
52 lines (46 loc) · 1.47 KB
/
linux.yml
File metadata and controls
52 lines (46 loc) · 1.47 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
on:
push:
branches:
- fix-build
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
arch: ['x64']
steps:
- uses: actions/setup-node@master
with:
node-version: "16.x"
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Ubuntu dependencies
run: sudo apt-get install libgtk-3-dev g++ build-essential ninja-build gcc-aarch64-linux-gnu g++-aarch64-linux-gnu build-essential autoconf libtool cmake pkg-config git python-dev swig3.0 libpcre3-dev nodejs-dev
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Build Qode binary
run: TARGET_ARCH=${{ matrix.arch }} node build.js
env:
SYNC_GIT_SUBMODULE: 1
- name: Compress files
uses: a7ul/tar-action@v1.0.2
with:
command: c
cwd: ./out/Release
files: |
./qode
outPath: qode-linux-${{ matrix.arch }}-test.tar.gz
- uses: actions/upload-artifact@v1
with:
name: qode-linux-${{ matrix.arch }}-test.tar.gz
path: qode-linux-${{ matrix.arch }}-test.tar.gz
# - name: Release
# uses: softprops/action-gh-release@master
# with:
# files: qode-linux-${{ matrix.arch }}-test.tar.gz
# tag_name: ${{ github.event.release.tag_name }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}