Skip to content

Commit

Permalink
Merge branch 'devel' into sem-resem-operands
Browse files Browse the repository at this point in the history
  • Loading branch information
zerbina committed Aug 8, 2024
2 parents 2fa828b + 1c9e91c commit 3cbc842
Show file tree
Hide file tree
Showing 317 changed files with 16,411 additions and 8,464 deletions.
5 changes: 2 additions & 3 deletions .github/actions/setup-mingw/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:

- name: Download from niXman/mingw-builds-binaries
id: download
uses: robinraju/release-downloader@v1.8
uses: robinraju/release-downloader@v1.10
with:
repository: niXman/mingw-builds-binaries
tag: ${{ inputs.mingw-version }}
Expand All @@ -31,8 +31,7 @@ runs:
Join-Path $env:RUNNER_TEMP "mingw64" "bin" | Out-File -Append $env:GITHUB_PATH
shell: pwsh
env:
MINGW_ARCHIVE:
${{ fromJson(steps.download.outputs.downloaded_files)[0] }}
MINGW_ARCHIVE: ${{ fromJson(steps.download.outputs.downloaded_files)[0] }}
working-directory: ${{ runner.temp }}

- name: Print GCC version
Expand Down
62 changes: 62 additions & 0 deletions .github/actions/setup-vcpkg/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Setup vcpkg
description: Clone and setup vcpkg
inputs:
triplet:
description: Specify the target triplet
required: false
host-triplet:
description: Specify the host triplet
required: false
overlay-triplets:
description: Additional directories to search to triplets, one entry per line
required: false
revision:
description: The revision of the vcpkg registry to be used
required: false

runs:
using: composite

steps:
- name: Clone vcpkg
uses: actions/checkout@v4
with:
repository: microsoft/vcpkg
ref: ${{ inputs.revision }}
filter: tree:0
path: vcpkg

- name: Setup environment variables
uses: actions/github-script@v7
with:
script: |
// Configuration for GitHub Actions cache
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
// vcpkg configuration
const path = require('node:path');
const vcpkg_root = path.join(process.env.GITHUB_WORKSPACE, 'vcpkg');
core.exportVariable('VCPKG_ROOT', vcpkg_root);
core.addPath(vcpkg_root);
core.exportVariable('VCPKG_BINARY_SOURCES', 'clear;x-gha,readwrite');
const triplet = process.env.AINPUT_TRIPLET;
if (triplet) {
core.exportVariable('VCPKG_DEFAULT_TRIPLET', triplet);
}
const hostTriplet = process.env.AINPUT_HOST_TRIPLET;
if (hostTriplet) {
core.exportVariable('VCPKG_DEFAULT_HOST_TRIPLET', hostTriplet);
}
const tripletOverlays = process.env.AINPUT_OVERLAY_TRIPLETS?.replace(/\n/, path.delimiter);
if (tripletOverlays) {
core.exportVariable('VCPKG_OVERLAY_TRIPLETS', tripletOverlays);
}
env:
AINPUT_TRIPLET: ${{ inputs.triplet }}
AINPUT_HOST_TRIPLET: ${{ inputs.host-triplet }}
AINPUT_OVERLAY_TRIPLETS: ${{ inputs.overlay-triplets }}

- run: ./vcpkg/bootstrap-vcpkg.sh
shell: bash
94 changes: 94 additions & 0 deletions .github/changelog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": ["enhancement"],
"categories": [
{
"title": "### Compiler",
"labels": ["enhancement"],
"exhaustive": true,
"rules": [
{
"on_property": "labels",
"pattern": "compiler.*"
}
]
},
{
"title": "### Standard Library",
"labels": ["enhancement", "stdlib"],
"exhaustive": true
},
{
"title": "### Tooling",
"labels": ["enhancement", "tools"],
"exhaustive": true
}
]
},
{
"title": "## 🐛 Fixes",
"labels": ["bug"],
"categories": [
{
"title": "### Compiler",
"labels": ["bug"],
"exhaustive": true,
"rules": [
{
"on_property": "labels",
"pattern": "compiler.*"
}
]
},
{
"title": "### Standard Library",
"labels": ["bug", "stdlib"],
"exhaustive": true
},
{
"title": "### Tooling",
"labels": ["bug", "tool"],
"exhaustive": true
}
]
},
{
"title": "## 🔧 Refactorings",
"labels": ["refactor", "simplification"],
"categories": [
{
"title": "### Compiler",
"labels": ["refactor", "simplification"],
"exhaustive_rules": true,
"rules": [
{
"on_property": "labels",
"pattern": "compiler.*"
}
]
},
{
"title": "### Standard Library",
"labels": ["refactor", "stdlib"],
"exhaustive": true
},
{
"title": "### Tooling",
"labels": ["refactor", "tool"],
"exhaustive": true
}
]
},
{
"title": "## 💬 Other",
"labels": []
}
],
"template": "# What's Changed\n\n#{{CHANGELOG}}\n\n**Full Changelog**: #{{RELEASE_DIFF}}",
"empty_template": "**Full Changelog**: #{{RELEASE_DIFF}}",
"pr_template": "* #{{TITLE}} by @#{{AUTHOR}} in #{{URL}}",
"sort": "DSC",
"base_branches": ["devel"]
}
Loading

0 comments on commit 3cbc842

Please sign in to comment.