Update build.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user