Skip to content

ubuntu-workspace-automation #314

ubuntu-workspace-automation

ubuntu-workspace-automation #314

name: ubuntu-workspace-automation
on:
pull_request:
types: [ opened, synchronize, reopened, closed ]
release:
types: [ published, created, edited ]
workflow_dispatch:
schedule:
# daily
- cron: '0 0 * * *'
jobs:
workspace-automation:
strategy:
matrix:
os: [ubuntu-20.04, macos-12]
# macos-10.15, macos-11, macos-12, ubuntu-18.04, ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Setup workspace
run: |
FLUTTER_WORKSPACE=`pwd`/workspace
mkdir -p $FLUTTER_WORKSPACE && pushd $FLUTTER_WORKSPACE
sudo ../flutter_workspace.py --config=`pwd`/../configs --plex="agl-qemu-master agl-qemu-octopus"
pwd
- name: Source Environment
shell: bash
working-directory: workspace
run: |
pwd
SETUP_ENV = $(find -iname setup_env.sh)
cat $SETUP_ENV
source cat $SETUP_ENV
flutter doctor -v
dart --version