[NUI] Support RemoveIdle API for NUIApplication + Use unified idler callback #10214
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build Pull Request" | |
on: | |
pull_request: | |
branches: | |
- main | |
- DevelNUI | |
- API* | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 3.1.402 | |
- name: Get Changed Files | |
uses: lots0logs/[email protected] | |
id: getChangedFiles | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build | |
id: build | |
uses: TizenAPI/tizenfx-build-actions/problem-filter@master | |
with: | |
run: ./build.sh full /p:BuildWithAnalyzer=True -consoleloggerparameters:NoSummary | |
files: ${{ steps.getChangedFiles.outputs.all }} | |
- name: Save Error Report | |
if: ${{ failure() && steps.build.outputs.errors }} | |
env: | |
BUILD_ERRORS: ${{ steps.build.outputs.errors }} | |
run: | | |
mkdir Artifacts | |
echo $BUILD_ERRORS > Artifacts/errors.json | |
- name: Pack | |
run: ./build.sh pack | |
- name: Checkout APITool | |
uses: actions/checkout@v3 | |
with: | |
repository: TizenAPI/APITool | |
path: .apitool | |
- name: Extract API Spec | |
run: | | |
dotnet run -p .apitool/ \ | |
-- print --format=json --include-hidden \ | |
-o Artifacts/api.json Artifacts/bin/public/ | |
- uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: reports | |
if-no-files-found: ignore | |
path: Artifacts/*.json | |
check-api: | |
needs: [build] | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 3.1.x | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: reports | |
path: Artifacts | |
- name: Checkout to base spec | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.base.sha }} | |
path: base | |
- name: Build Base Branch | |
uses: TizenAPI/tizenfx-build-actions/problem-filter@master | |
with: | |
run: ./build.sh full | |
working-directory: base | |
- name: Checkout APITool | |
uses: actions/checkout@v3 | |
with: | |
repository: TizenAPI/APITool | |
path: .apitool | |
- name: Extract Base API | |
run: | | |
dotnet run -p .apitool/ \ | |
-- print --format=json --include-hidden \ | |
-o Artifacts/base-api.json base/Artifacts/bin/public/ | |
- name: Check API Compatibilities | |
uses: TizenAPI/tizenfx-build-actions/apidb-compare@master | |
with: | |
file: Artifacts/api.json | |
base-file: Artifacts/base-api.json | |
output: Artifacts/api-comp.json | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: reports | |
path: Artifacts/api-comp.json |