feat: create pro backend wrapper for getting pro proofs #162
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: libession-util-nodejs build test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - feat-add-pro-backend-fns | |
| pull_request: | |
| branches: | |
| - main | |
| - feat-add-pro-backend-fns | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-2022, macos-13, macos-14, ubuntu-24.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 correct clang versions | |
| if: runner.os == 'Linux' | |
| run: sudo apt update && sudo apt search clang && sudo apt install clang-format-19 #clang-tidy-19 | |
| shell: bash | |
| - 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: generate fake src/version.h so we can try to build | |
| shell: bash | |
| run: yarn update_version | |
| - name: build libsession-util-nodejs | |
| shell: bash | |
| run: yarn install --frozen-lockfile | |
| - name: Check formatting | |
| if: runner.os == 'Linux' | |
| run: clang-format-19 --dry-run --Werror src/*.cpp include/*.hpp src/**/*.cpp include/**/*.hpp | |
| shell: bash | |
| # - name: Run clang-tidy | |
| # run: clang-tidy-19 -p build src/*.cpp include/*.hpp src/**/*.cpp include/**/*.hpp | |
| # shell: bash |