Skip to content

Fix non-platform thread issue. #1881

Fix non-platform thread issue.

Fix non-platform thread issue. #1881

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: Find changed packages
run: |
CHANGED_PACKAGES=$(./tools/tools_runner.sh list \
--run-on-changed-packages \
--base-sha=$(git rev-parse HEAD^))
if [[ ! -z $CHANGED_PACKAGES ]]; then
echo $CHANGED_PACKAGES
echo "HAS_CHANGED_PACKAGES=true" >> $GITHUB_ENV
fi
- name: Install Tizen Studio
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
run: |
sudo apt install -y libncurses5 python2.7 libpython2.7 gettext
curl http://download.tizen.org/sdk/Installer/tizen-studio_5.1/web-cli_Tizen_Studio_5.1_ubuntu-64.bin -o install.bin
chmod a+x install.bin
./install.bin --accept-license $HOME/tizen-studio
rm install.bin
- name: Install Tizen Studio packages
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
run: |
$HOME/tizen-studio/package-manager/package-manager-cli.bin install \
NativeToolchain-Gcc-9.2 \
WEARABLE-5.5-NativeAppDevelopment-CLI \
WEARABLE-6.0-NativeAppDevelopment-CLI \
WEARABLE-6.5-NativeAppDevelopment-CLI
- name: Create a Tizen certificate profile
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
run: |
export PATH=$PATH:$HOME/tizen-studio/tools/ide/bin
tizen certificate -a tizen -p tizen -f tizen
tizen security-profiles add \
-n tizen \
-a $HOME/tizen-studio-data/keystore/author/tizen.p12 \
-p tizen
- name: Install flutter-tizen
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
uses: actions/checkout@v3
with:
repository: flutter-tizen/flutter-tizen
path: flutter-tizen
- name: Build examples of changed packages
if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }}
run: |
export PATH=`pwd`/flutter-tizen/bin:$PATH
./tools/tools_runner.sh build-examples \
--run-on-changed-packages \
--base-sha=$(git rev-parse HEAD^)