Skip to content

Commit 907384b

Browse files
authored
Merge pull request #102 from oblivioncth/dev
Merge to master for v0.9.13
2 parents 5652555 + 90dc643 commit 907384b

File tree

127 files changed

+3089
-2249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+3089
-2249
lines changed

.github/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
changelog:
22
exclude:
33
labels:
4-
- release-pr
4+
- release
5+
- common-sync
6+
authors:
7+
- oby-bot
58
categories:
9+
- title: Breaking Changes
10+
labels:
11+
- breaking
612
- title: New Features
713
labels:
814
- enhancement
915
- title: Bug Fixes
1016
labels:
1117
- bug
12-
- title: Backend Improvements
18+
- title: Implementation Improvements
1319
labels:
14-
- backend
20+
- implementation
1521
- title: Other Changes
1622
labels:
1723
- "*"

.github/workflows/build-clifp-linux.yml

Lines changed: 0 additions & 104 deletions
This file was deleted.

.github/workflows/build-clifp-windows.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build Project
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches-ignore:
6+
- 'master'
7+
workflow_run:
8+
workflows: Tag and Sync
9+
types: completed
10+
branches: dev
11+
# This is the branch that the original workflow ran on, which is technically dev, due to how
12+
# the "pull_request" trigger works (it works off master correctly for a merged PR but is triggered
13+
# by dev
14+
15+
jobs:
16+
trigger-build:
17+
name: Build Project
18+
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
19+
uses: oblivioncth/actions/.github/workflows/build-cxx-project.yml@v1
20+
secrets:
21+
ffynnon_access: ${{ secrets.OBYBOT_FFYNNON_ACCESS }}
22+
with:
23+
runs_exclude: >
24+
[
25+
{ "compiler": "g++-10" }
26+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Check Release PR
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
branches: master
6+
7+
jobs:
8+
check-pr-correctness:
9+
name: Release PR Correctness Check
10+
uses: oblivioncth/actions/.github/workflows/validate-release-pr.yml@v1
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: Generate Release
2+
on:
3+
workflow_run:
4+
workflows: Build Project
5+
types: completed
6+
branches: master
7+
8+
jobs:
9+
create-release-suffix:
10+
name: Create Release Name Suffix
11+
if: github.event.workflow_run.conclusion == 'success'
12+
runs-on: ubuntu-latest
13+
outputs:
14+
suffix: ${{ steps.form_suffix.outputs.suffix }}
15+
steps:
16+
- name: Checkout project
17+
uses: actions/checkout@v4
18+
- name: Get target FP version
19+
id: check_target_fp
20+
env:
21+
match_start: set\(TARGET_FP_VERSION_PREFIX
22+
match_end: \)
23+
shell: pwsh
24+
run: |
25+
$project_lists = Get-Content -Raw CMakeLists.txt
26+
if(!($project_lists -match '(?<=${{ env.match_start }})(.*)(?=${{ env.match_end }})')){
27+
throw "Could not get target FP version!"
28+
}
29+
$target_version = "v$($Matches[1].Trim())"
30+
echo "fp_version=$target_version" >> $Env:GITHUB_ENV
31+
- name: Form suffix
32+
id: form_suffix
33+
run: |
34+
suffix="(Targets FP $fp_version)"
35+
echo "suffix=$suffix" >> $GITHUB_OUTPUT
36+
37+
update-redirect:
38+
name: Update redirect page
39+
permissions:
40+
actions: read
41+
contents: read
42+
pages: write
43+
id-token: write
44+
if: github.event.workflow_run.conclusion == 'success'
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.page-deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Checkout repo
51+
uses: actions/checkout@v4
52+
- name: Setup pages
53+
uses: actions/configure-pages@v4
54+
- name: Upload pages artifact
55+
uses: actions/upload-pages-artifact@v3
56+
with:
57+
path: ${{ github.workspace }}/redirector
58+
- name: Deploy pages artifact
59+
id: page-deployment
60+
uses: actions/deploy-pages@v4
61+
62+
generate-release:
63+
name: Generate Release
64+
needs: create-release-suffix
65+
permissions:
66+
actions: read
67+
contents: write
68+
pages: write
69+
id-token: write
70+
if: github.event.workflow_run.conclusion == 'success'
71+
uses: oblivioncth/actions/.github/workflows/generate-cxx-release.yml@v1
72+
with:
73+
artifacts_run_id: ${{ github.event.workflow_run.id }}
74+
name_suffix: ${{ needs.create-release-suffix.outputs.suffix }}

.github/workflows/label-pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Label PR
2+
on:
3+
pull_request_target:
4+
types: [opened, synchronize, reopened]
5+
6+
jobs:
7+
label-pr:
8+
name: Label pull-request
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
uses: oblivioncth/actions/.github/workflows/label-pr.yml@v1

.github/workflows/master-pull-request-checks.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)