Skip to content

Commit

Permalink
Build outside Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 5, 2023
1 parent 1b5fe41 commit 5a0c9c7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 5a0c9c7

Please sign in to comment.