Skip to content

Commit

Permalink
Change working directory for Docker build
Browse files Browse the repository at this point in the history
An attempt to use learnings from here:

actions/runner#1009
  • Loading branch information
Scott Harrison Moeller committed Mar 13, 2021
1 parent fcaf522 commit 683c67e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/gcc-problems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,14 @@ jobs:
uses: addnab/docker-run-action@v2
with:
image: magma/mme_builder:latest
# TODO: Break up this long line (can I use '\' at end of each line?)
run: cd /magma/lte/gateway;make build_oai 2>&1 > /compile.log;for file in ${{ steps.changed_files.outputs.all }}; do grep $file /compile.log | xo '/\/magma\/((.*):(\d+):(\d+):\s+(?:fatal\s)?(warning|error):\s+(.*))/$1/' || true; done;
run: |
ECHO $GITHUB_WORKSPACE
ls -R $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/lte/gateway/
make build_oai 2>&1 > /compile.log
for file in ${{ steps.changed_files.outputs.all }};
do grep $file /compile.log | xo '/\/magma\/((.*):(\d+):(\d+):\s+(?:fatal\s)?(warning|error):\s+(.*))/$1/' || true;
done;
-
name: Store oai_build_logs artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 683c67e

Please sign in to comment.