* Update test actions * Format stale issues * Format jira issues workflow * Format changelog check workflow * Format build workflows * Format create build Also add make full action to remove core installs * Format codeql analysis * Add .nvmrc * Update changelog * Add concurrency group to CodeQL * sudo install * Update to windows latest * Upgrade fedora distro list * Add arch to runtime matrix * Fix path for m1 builds * Add enterprise and business flags
44 lines
842 B
YAML
44 lines
842 B
YAML
name: Debian
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref || github.run_id }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-arch64:
|
|
name: ${{ matrix.distro }}
|
|
runs-on: ubuntu-latest
|
|
container: symless/synergy-core:${{ matrix.distro }}
|
|
|
|
env:
|
|
GIT_COMMIT: ${{ github.sha }}
|
|
|
|
strategy:
|
|
matrix:
|
|
distro:
|
|
- debian9
|
|
- debian10
|
|
- debian11
|
|
|
|
steps:
|
|
- name: Checkout git repo
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: "recursive"
|
|
|
|
- name: Build
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
. ./version
|
|
make -j
|
|
|
|
- name: Run unit test
|
|
run: ./build/bin/unittests
|