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 + 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: