Skip to content

Commit

Permalink
✨ Add GCC 11.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kammce committed Sep 8, 2024
1 parent f01f281 commit 4905dec
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/12.2.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/12.3.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 🚀 Deploy

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
deploy_11_3:
uses: ./.github/workflows/ci.yml
with:
version: "11.3"
secrets: inherit

deploy_12_2:
uses: ./.github/workflows/ci.yml
with:
version: "12.2"
secrets: inherit

deploy_12_3:
uses: ./.github/workflows/ci.yml
with:
version: "12.3"
secrets: inherit
3 changes: 3 additions & 0 deletions prebuilt/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"11.3":
url: "https://github.com/picolibc/picolibc/releases/download/1.7.9/picolibc-1.7.9-11.3.rel1.zip"
sha256: "72577260204bf1b6a223d1e235355e3150fa340456e6d83e48081071a2f46d1a"
"12.2":
url: "https://github.com/picolibc/picolibc/releases/download/1.8/picolibc-1.8-12.2.rel1.zip"
sha256: "e82d41728259edddde2fa7e3eaff1c9ffce6c317841679386e88c043cd5de5e1"
Expand Down
1 change: 1 addition & 0 deletions prebuilt/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def package_info(self):
self.cpp_info.resdirs = []

short_to_long_version = {
"11.3": "11.3.1",
"12.2": "12.2.1",
"12.3": "12.3.1",
}
Expand Down
3 changes: 1 addition & 2 deletions prebuilt/demo/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ class Demo(ConanFile):
def build_requirements(self):
self.tool_requires("cmake/3.27.1")
self.tool_requires(
f"arm-gnu-toolchain/{self.settings.compiler.version}",
options={"custom_libc": True})
f"arm-gnu-toolchain/{self.settings.compiler.version}")

def requirements(self):
self.requires(f"prebuilt-picolibc/{self.settings.compiler.version}")
Expand Down

0 comments on commit 4905dec

Please sign in to comment.