Update build.yaml

This commit is contained in:
uazo
2021-07-10 09:29:33 +02:00
committed by GitHub
parent 9109417e41
commit 60b8f14101
+20 -14
View File
@@ -17,15 +17,8 @@ on:
jobs:
check_images:
runs-on: self-hosted
#runs-on: ubuntu-latest
steps:
# - name: Reclaiming disk space on / by removing dotnet/android/ghc
# run: |
# sudo rm -rf /usr/share/dotnet
# sudo rm -rf /usr/local/lib/android
# sudo rm -rf /opt/ghc
- name: Checkout repo
uses: actions/checkout@v2
with:
@@ -54,6 +47,11 @@ jobs:
with:
version: ${{ env.VERSION }}
sha: ${{ github.sha }}
- name: Check bromite builder
uses: uazo/bromite-buildtools/images/bromite-build@master
with:
sha: ${{ github.sha }}
build:
runs-on: self-hosted
@@ -68,14 +66,22 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
goma-server:
image: uazo/goma-server
ports: [5050:5050]
volumes:
- /tmp/proxy:/tmp/proxy
container:
image: uazo/bromite:${{ github.sha }}
volumes:
- /storage/bromite/${{ env.VERSION }}/${{ github.sha }}:/home/lg/working_dir/artifacs
- /tmp/proxy:/tmp/proxy
steps:
- name: xxx
- name: Build Bromite
shell: bash
run: echo "done"
run: |
./start-build.sh
# container:
# image: uazo/chromium:91.0.4472.146
# options: "--privileged"
# volumes:
# - /storage/bromite/91.0.4472.146:/home/lg/working_dir/artifacs