From 5a0c9c77834904789cb4b436a85f306a9072bd23 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Thu, 5 Oct 2023 01:02:31 +0000 Subject: [PATCH] Build outside Docker. --- .github/workflows/go.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f3d2b05..f4b72d3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,7 +23,10 @@ jobs: - name: Build run: | - echo ${RUNNER_TOOL_CACHE} - docker run --rm -v ${RUNNER_TOOL_CACHE}:${RUNNER_TOOL_CACHE} -v ${HOME}:${HOME} -e PATH \ + make + + - name: Test + run: | + docker run --rm -v ${{ github.workspace }}:${{ github.workspace }} -e PATH \ -e WORKSPACE=${{ github.workspace }} --entrypoint /bin/sh sippylabs/rtpproxy:latest -c \ - 'set -e; cd ${WORKSPACE}; apt install -y gcc; go build -buildvcs=false -o rtp_cluster; ${WORKSPACE}/scripts/travis/test_run.sh' + 'set -e; cd ${WORKSPACE}; apt install -y python; ${WORKSPACE}/scripts/travis/test_run.sh'