From df108b559d61ad8f836aadce8da2abf13170576c Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 14 Aug 2023 22:03:38 +0200 Subject: [PATCH] CI: enable macos builds --- .github/workflows/macos.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..dd58217a --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,28 @@ +on: [push, pull_request, workflow_dispatch] + +permissions: + contents: read + +jobs: + build_and_test: + strategy: + matrix: + os: [macos-13, macos-12, macos-11] + name: ${{ matrix.os }} + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v1 + 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 +