Skip to content

Commit

Permalink
build with GA
Browse files Browse the repository at this point in the history
  • Loading branch information
Infactum authored Oct 4, 2020
1 parent fb64b70 commit 1c41fed
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
56 changes: 56 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Conan-center does not provide x86 packages and I'm too lazy to maintain them myself
# so there will be only x64 builds here
os: [windows-latest, ubuntu-18.04]
include:
- os: windows-latest
generator: VS16Win64
- os: ubuntu-18.04
generator: Ninja

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.x'

- run: |
pip install wheel
pip install conan
conan profile new default --detect
- run: conan profile update settings.compiler.libcxx=libstdc++11 default
if: runner.os == 'Linux'

- run: |
mkdir ${{ github.workspace }}/build && cd ${{ github.workspace }}/build
conan remote add bintray/infactum https://api.bintray.com/conan/infactum/public-conan
conan install ${{ github.workspace }}
- uses: lukka/run-cmake@v2
id: runcmake_cmd
with:
buildDirectory: ${{ github.workspace }}/build
cmakeGenerator: ${{ matrix.generator }}
cmakeBuildType: Release

- uses: actions/upload-artifact@v2
with:
name: windows-x64
path: ${{ github.workspace }}/build/bin/ssh_native.dll
if: runner.os == 'Windows'

- uses: actions/upload-artifact@v2
with:
name: linux-x64
path: ${{ github.workspace }}/build/lib/libssh_native.so
if: runner.os == 'Linux'
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![CI](https://github.com/Infactum/ssh-native/workflows/CI/badge.svg)

# SSH support for 1C:Enterprise

Made with [modern template](https://github.com/Infactum/addin-template).
Expand All @@ -6,4 +8,4 @@ See API docs [here](API.md).
⚠ Refactor required. Use with care.

## License exclusions
In case of embedding add-in based on this template inside 1C:Enterprise configuations, external processors, configuration extensions etc, it's allowed not to apply AGPL terms to whole application part, but only add-in itself.
In case of embedding this add-in inside 1C:Enterprise configuations, external processors, configuration extensions etc, it's allowed not to apply AGPL terms to whole application part, but only add-in itself.

0 comments on commit 1c41fed

Please sign in to comment.