From df108b559d61ad8f836aadce8da2abf13170576c Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 14 Aug 2023 22:03:38 +0200 Subject: [PATCH 1/2] 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 + From e122e964f3ffc3f556221be72cfa793bb2bdc94d Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 14 Aug 2023 22:10:03 +0200 Subject: [PATCH 2/2] CI: cleanup osx travis-ci due to migration to GHA --- .travis.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index bff3cbae..00cbf76a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,15 +48,6 @@ matrix: script: - cd developer_tools/stbchecker - dotnet run ../../src/bin/hamcore - - os: osx - compiler: clang - before_install: - - brew install libsodium - script: - - ./configure - - make -C build - - otool -L build/vpnserver - - .ci/memory-leak-test.sh cache: directories: