File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' Dockerfile'
7+ - ' docker-compose.yml'
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ docker :
14+ name : Test docker compose up
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : " Checkout ${{ github.ref }} ( ${{ github.sha }} )"
18+ uses : actions/checkout@v3
19+ - name : Start containers
20+ run : docker-compose -f "docker-compose.yml" up -d --build
21+ - name : Stop containers
22+ if : always()
23+ run : docker-compose -f "docker-compose.yml" down
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN apk --no-cache add \
2121 git
2222
2323# Build and install LLVM
24- RUN wget --progress=dot:giga "https://github.com/llvm/llvm-project/archive/llvmorg-${LLVM_VERSION}.tar.gz" || { echo "Error downloading LLVM version ${LLVM_VERSION}" ; exit 1; }
24+ RUN wget -q "https://github.com/llvm/llvm-project/archive/llvmorg-${LLVM_VERSION}.tar.gz" || { echo "Error downloading LLVM version ${LLVM_VERSION}" ; exit 1; }
2525
2626RUN tar zxf llvmorg-${LLVM_VERSION}.tar.gz && rm llvmorg-${LLVM_VERSION}.tar.gz
2727
Original file line number Diff line number Diff line change 1- version : ' 3.8 '
1+ version : ' 3.9 '
22
33services :
44 one :
You can’t perform that action at this time.
0 commit comments