2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Fix dock-run-action setup.

This commit is contained in:
Rene Rivera
2021-09-25 12:17:19 -05:00
parent 1ccae2b0e7
commit abcecb9af7

View File

@@ -44,22 +44,23 @@ jobs:
env | grep -v '^#' | xargs > docker-run-action.env
- name: 'Run'
uses: addnab/docker-run-action@v3
image: ${{ matrix.image }}
options: --env-file docker-run-action.env --workdir "${{ github.workspace }}" --mount "type=bind,src=${{ github.workspace }},dst=${{ github.workspace }}"
run: |
set -e
uname -a
echo ">>>>>"
echo ">>>>> Build.."
echo ">>>>>"
cd src/engine
export "PATH=${PATH};${CXX_PATH}"
./build.sh ${TOOLSET}
./b2 -v
cd ../..
echo ">>>>>"
echo ">>>>> Test.."
echo ">>>>>"
cd test
python test_all.py ${TOOLSET}
cd ..
with:
image: ${{ matrix.image }}
options: --env-file docker-run-action.env --workdir "${{ github.workspace }}" --mount "type=bind,src=${{ github.workspace }},dst=${{ github.workspace }}"
run: |
set -e
uname -a
echo ">>>>>"
echo ">>>>> Build.."
echo ">>>>>"
cd src/engine
export "PATH=${PATH};${CXX_PATH}"
./build.sh ${TOOLSET}
./b2 -v
cd ../..
echo ">>>>>"
echo ">>>>> Test.."
echo ">>>>>"
cd test
python test_all.py ${TOOLSET}
cd ..