Skip to content

feat: add keys for group when provided for easier debugging #95

feat: add keys for group when provided for easier debugging

feat: add keys for group when provided for easier debugging #95

Workflow file for this run

name: libession-util-nodejs build test
on:
push:
branches:
- main
- dev
- groups-chunk-2
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
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'
# this should only be needed on ubuntu-20.04
# - name: Force g++10 to be used
# if: runner.os == 'Linux'
# shell: bash
# run: |
# sudo apt install -y libstdc++-10-dev g++-10
# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
# sudo update-alternatives --set gcc /usr/bin/gcc-10
- 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: Setup node for windows
if: runner.os == 'Windows'
shell: bash
run: |
yarn global add node-gyp@latest
- 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