1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 09:59:52 +03:00
SoftEtherVPN/.github/workflows/macos.yml

34 lines
594 B
YAML
Raw Normal View History

2024-06-15 18:31:25 +03:00
name: macOS
2023-08-14 23:03:38 +03:00
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build_and_test:
strategy:
matrix:
os: [macos-14, macos-13, macos-12]
2023-08-14 23:03:38 +03:00
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
2024-06-15 18:31:25 +03:00
2024-06-26 09:54:56 +03:00
- name: Checkout
uses: actions/checkout@v4
2023-08-14 23:03:38 +03:00
with:
submodules: true
2024-06-15 18:31:25 +03:00
2023-08-14 23:03:38 +03:00
- name: Install dependencies
run: |
brew install libsodium
2024-06-15 18:31:25 +03:00
2023-08-14 23:03:38 +03:00
- name: Compile
run: |
./configure
make -C build
2024-06-15 18:31:25 +03:00
2023-08-14 23:03:38 +03:00
- name: Test
run: |
otool -L build/vpnserver
.ci/memory-leak-test.sh