forked from oxen-io/libsession-util-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (46 loc) · 1.4 KB
/
test.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
52
53
54
55
56
name: libession-util-nodejs build test
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2022, macos-13, ubuntu-20.04]
env:
SIGNAL_ENV: production
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: git config --global core.autocrlf false
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Add msbuild to PATH
uses: microsoft/[email protected]
if: runner.os == 'Windows'
# - name: sed it
# if: runner.os == 'Windows'
# shell: bash
# run: |
# sed -i "s/target_compile_options(oxen-logging-warnings INTERFACE/#target_compile_options(oxen-logging-warnings INTERFACE/" libsession-util/external/oxen-libquic/external/oxen-logging/CMakeLists.txt
# cat libsession-util/external/oxen-libquic/external/oxen-logging/CMakeLists.txt
- name: build libsession-util-nodejs
shell: bash
run: yarn install --frozen-lockfile