Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: libession-util Windows with MSVC build test

on:
push:
branches:
- main
- dev
- build-msvc-on-gh-workflow

pull_request:
branches:
- main
- dev

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2022]
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: Add msbuild to PATH
uses: microsoft/[email protected]
if: runner.os == 'Windows'

- name: build libsession-util on Windows with MSVC
shell: bash
run: mkdir build && cd build && cmake ../ -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_BUILD_TYPE=Release -DSUBMODULE_CHECK=OFF -DLOCAL_MIRROR=https://oxen.rocks/deps -DENABLE_ONIONREQ=OFF && ls -la && pwd && make -j16
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ if(CCACHE_PROGRAM)
endforeach()
endif()


project(libsession-util
VERSION 1.2.0
DESCRIPTION "Session client utility library"
Expand Down