From f189df41b29d548a75425c47f775f79d7e915c88 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 16 Jan 2026 14:33:27 +0900 Subject: [PATCH] infra: removed dupilcate workflow & added build test badge --- .github/workflows/build.yml | 38 -------------------------------- .github/workflows/build_test.yml | 2 +- README.md | 2 ++ 3 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index b0e730d..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build - -on: - pull_request: - branches: - - main - push: - branches: - - main - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Install Packages - run: | - sudo apt-get update - sudo apt-get install meson ninja-build libsdl2-dev - - - name: Install ThorVG - run: | - git clone https://github.com/thorvg/thorvg.git thorvg - cd thorvg - meson . build -Dloaders=all -Dsavers=gif -Dbindings=capi -Dstatic=true - sudo ninja -C build install - cd .. - - - name: Build - run: | - meson setup build - ninja -C build \ No newline at end of file diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 378c51c..d4ebda7 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -1,4 +1,4 @@ -name: Build +name: Build Test on: pull_request: diff --git a/README.md b/README.md index 1979238..82bc196 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![Discord](https://img.shields.io/badge/Community-5865f2?style=flat&logo=discord&logoColor=white)](https://discord.gg/n25xj6J6HM) [![OpenCollective](https://img.shields.io/badge/OpenCollective-84B5FC?style=flat&logo=opencollective&logoColor=white)](https://opencollective.com/thorvg)
+[![Build](https://github.com/thorvg/thorvg.example/actions/workflows/build_test.yml/badge.svg?branch=main&event=push)](https://github.com/thorvg/thorvg.example/actions/workflows/build_test.yml) + # ThorVG Example