From 03ad0c55b8958340d6d41341b80c9574448e6be9 Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Thu, 16 Mar 2023 13:05:20 -0700 Subject: [PATCH] SL-18837: Add .github/ folder for Actions functionality (new package, not copied over from BitBucket). Update build.yaml with correct action-autobuild tag and enable continue-on-error. --- .github/dependabot.yaml | 7 +++++++ .github/release.yaml | 18 ++++++++++++++++++ .github/workflows/build.yaml | 25 +++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 .github/dependabot.yaml create mode 100644 .github/release.yaml create mode 100644 .github/workflows/build.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..f54fbcd --- /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..c12a750 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,25 @@ +name: Build +on: [push] +jobs: + build: + strategy: + matrix: + os: [windows-2022, macos-11, ubuntu-22.04] + addrsize: ["64"] + include: + - os: windows-2022 + addrsize: "32" + continue-on-error: true + runs-on: ${{ matrix.os }} + steps: + - uses: secondlife/action-autobuild@v3 + with: + addrsize: ${{ matrix.addrsize }} + release: + needs: build + runs-on: [ubuntu-latest] + if: startsWith(github.ref, 'refs/tags/v') + steps: + - uses: secondlife/action-autobuild-release@v1 + with: + public: true