moved to builtools
This commit is contained in:
@@ -1,95 +0,0 @@
|
||||
name: Build x86
|
||||
permissions:
|
||||
actions: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
issues: none
|
||||
packages: none
|
||||
pull-requests: none
|
||||
repository-projects: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check_images:
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: bromite
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Get current chromium version
|
||||
shell: bash
|
||||
run: |
|
||||
export VERSION=$( cat ./bromite/build/RELEASE )
|
||||
echo Current version is $VERSION
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Check build deps image
|
||||
uses: uazo/bromite-buildtools/images/build-deps@master
|
||||
with:
|
||||
version: ${{ env.VERSION }}
|
||||
|
||||
- name: Check chromium image
|
||||
uses: uazo/bromite-buildtools/images/chr-source@master
|
||||
with:
|
||||
version: ${{ env.VERSION }}
|
||||
|
||||
- name: Check bromite image
|
||||
uses: uazo/bromite-buildtools/images/bromite-source@master
|
||||
with:
|
||||
version: ${{ env.VERSION }}
|
||||
sha: 2e1849a8e357e0ebbcd84cb88a8556be738c08a8 #${{ github.sha }}
|
||||
|
||||
- name: Check bromite builder
|
||||
uses: uazo/bromite-buildtools/images/bromite-build@master
|
||||
with:
|
||||
sha: 2e1849a8e357e0ebbcd84cb88a8556be738c08a8 #${{ github.sha }}
|
||||
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
needs: check_images
|
||||
if: success()
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping"
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
gomaserver:
|
||||
image: uazo/goma-server
|
||||
#ports:
|
||||
# - 5050:5050
|
||||
volumes:
|
||||
- /tmp/proxy:/tmp/proxy
|
||||
env:
|
||||
REDISHOST: redis
|
||||
REMOTEEXEC_ADDR: ${{ secrets.REMOTEEXEC_ADDR }}
|
||||
|
||||
container:
|
||||
image: uazo/bromite-build:2e1849a8e357e0ebbcd84cb88a8556be738c08a8 #${{ github.sha }}
|
||||
env:
|
||||
SERVER_HOST_GOMA: gomaserver
|
||||
volumes:
|
||||
- /storage/bromite/${{ github.sha }}:/home/lg/working_dir/artifacs
|
||||
- /tmp/proxy:/tmp/proxy
|
||||
|
||||
|
||||
steps:
|
||||
- name: Build Bromite
|
||||
shell: bash
|
||||
run: |
|
||||
cd /home/lg/working_dir/
|
||||
export WORKSPACE=/home/lg/working_dir
|
||||
./start-build.sh
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# This is a basic workflow that is manually triggered
|
||||
|
||||
name: Manual workflow
|
||||
|
||||
# Controls when the action will run. Workflow runs when manually triggered using the UI
|
||||
# or API.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# Inputs the workflow accepts.
|
||||
inputs:
|
||||
name:
|
||||
# Friendly description to be shown in the UI instead of 'name'
|
||||
description: 'Person to greet'
|
||||
# Default value if no value is explicitly provided
|
||||
default: 'World'
|
||||
# Input has to be provided for the workflow to run
|
||||
required: true
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "greet"
|
||||
greet:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Free before
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
|
||||
- name: Maximize build space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 512
|
||||
swap-size-mb: 1024
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
remove-haskell: 'true'
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Free after
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
Reference in New Issue
Block a user