From cb00ac39cd591d93b595d8d770c999fb408d7f5d Mon Sep 17 00:00:00 2001 From: Rye Mutt Date: Mon, 17 Jun 2024 20:28:36 -0400 Subject: [PATCH] Add github workflow --- .github/dependabot.yaml | 7 +++++++ .github/release.yaml | 18 ++++++++++++++++++ .github/workflows/build.yaml | 25 +++++++++++++++++++++++++ README.md | 6 ++++++ 4 files changed, 56 insertions(+) create mode 100644 .github/dependabot.yaml create mode 100644 .github/release.yaml create mode 100644 .github/workflows/build.yaml create mode 100644 README.md diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..3e3e1df --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,7 @@ +version: 2 +updates: + + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly diff --git a/.github/release.yaml b/.github/release.yaml new file mode 100644 index 0000000..0f4884c --- /dev/null +++ b/.github/release.yaml @@ -0,0 +1,18 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - dependabot + categories: + - title: Breaking Changes 🛠 + labels: + - semver-major + - breaking-change + - title: New Features 🎉 + labels: + - semver-minor + - enhancement + - title: Other Changes + labels: + - '*' diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..b5a7e0b --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,25 @@ +name: Build +on: [push] +jobs: + build: + strategy: + matrix: + os: [windows-2022, macos-14, ubuntu-22.04] + addrsize: ["64"] + runs-on: ${{ matrix.os }} + steps: + - uses: AlchemyViewer/action-autobuild@v4 + with: + addrsize: ${{ matrix.addrsize }} + build-variables-repo: alchemyviewer/build-variables + build-variables-ref: alchemy + apt-packages: autoconf automake autopoint gettext + brew-packages: ninja + release: + needs: build + runs-on: [ubuntu-latest] + if: startsWith(github.ref, 'refs/tags/v') + steps: + - uses: alchemyviewer/action-autobuild-release@v4 + with: + public: true diff --git a/README.md b/README.md new file mode 100644 index 0000000..4c93bfa --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# 3p-libxml2 + +[Autobuild][] packaged [libxml2][]. + +[Autobuild]: https://github.com/secondlife/autobuild +[libxml2]: https://gitlab.gnome.org/GNOME/libxml2/-/releases