forked from nim-works/nimskull
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into sem-resem-operands
- Loading branch information
Showing
317 changed files
with
16,411 additions
and
8,464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |
Oops, something went wrong.