Skip to content

Commit

Permalink
start container in each step
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Feb 13, 2024
1 parent af4fffd commit dd18432
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
CXX: /opt/rh/gcc-toolset-9/root/bin/g++
CCACHE_DIR: ".ccache"
IMAGE: "ghcr.io/facebookincubator/velox-dev:circleci-avx"
DOCKER_CMD: "docker run --ulimit memlock=-1 -v .:/velox -w /velox -d -e CC -e CXX -e CCACHE_DIR --name velox $IMAGE"
defaults:
run:
shell: bash
Expand All @@ -67,12 +68,12 @@ jobs:
- run: |
mkdir -p .ccache
sudo apt update && sudo apt install ccache
docker run --ulimit memlock=-1 -v .:/velox -w /velox -d -e CC -e CXX -e CCACHE_DIR --name velox $IMAGE
- name: Minimal, no tests
run: |
df -h .
du -sh .
ccache -s
$DOCKER_CMD
docker exec velox make VELOX_BUILD_MINIMAL=ON VELOX_BUILD_TESTING=OFF '${{ matrix.type }}'
df -h .
du -sh .
Expand All @@ -82,6 +83,7 @@ jobs:
df -h .
du -sh .
ccache -s
$DOCKER_CMD
docker exec velox make VELOX_BUILD_TESTING=OFF release '${{ matrix.type }}'
df -h .
du -sh .
Expand All @@ -90,6 +92,7 @@ jobs:
df -h .
du -sh .
ccache -s
$DOCKER_CMD
docker exec velox make '${{ matrix.type }}'
docker exec velox make unittest
df -h .
Expand Down

0 comments on commit dd18432

Please sign in to comment.