mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
56c146e6c0
Standardized writing style
37 lines
630 B
YAML
37 lines
630 B
YAML
name: macOS
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_and_test:
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- macos-14
|
|
- macos-13
|
|
- macos-12
|
|
name: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
brew install libsodium
|
|
|
|
- name: Compile
|
|
run: |
|
|
./configure
|
|
make -C build
|
|
|
|
- name: Test
|
|
run: |
|
|
otool -L build/vpnserver
|
|
.ci/memory-leak-test.sh |