-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: bump up version to 1.64.0.0 * add export file by default (#144) * improve documentation about setting the environment variables (#145) * update default value of ExportFile * sccache support (#146) * OpenSSL no longer needs to be installed (#149) Co-authored-by: Sergio Gasquez Arcos <[email protected]>
- Loading branch information
1 parent
fa334ed
commit 5868b45
Showing
43 changed files
with
554 additions
and
442 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
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
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
name: 'Setup Ninja' | ||
description: 'Setup the Ninja Build System' | ||
name: "Setup Ninja" | ||
description: "Setup the Ninja Build System" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Setup Ninja | ||
uses: seanmiddleditch/gha-setup-ninja@master |
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
name: 'Setup Python' | ||
description: 'Setup the Python Install' | ||
name: "Setup Python" | ||
description: "Setup the Python Install" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
python-version: "3.8" |
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
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
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
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 |
---|---|---|
@@ -1,29 +1,28 @@ | ||
|
||
name: build-rust-macos-m1-dispatch | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
upload_artifacts: | ||
description: 'Upload final artifacts to Release?' | ||
description: "Upload final artifacts to Release?" | ||
required: true | ||
default: 'yes' | ||
default: "yes" | ||
rust_build_branch: | ||
description: 'Branch of rust-build to use' | ||
description: "Branch of rust-build to use" | ||
required: true | ||
default: 'main' | ||
default: "main" | ||
release_version: | ||
description: 'Release Version for generation' | ||
description: "Release Version for generation" | ||
required: true | ||
default: '1.63.0.2' | ||
default: '1.64.0.0' | ||
rust_version: | ||
description: 'Version of esp rust to use' | ||
description: "Version of esp rust to use" | ||
required: true | ||
default: 'nightly' | ||
default: "nightly" | ||
rust_target: | ||
description: 'Target triple' | ||
description: "Target triple" | ||
required: true | ||
default: 'aarch64-apple-darwin' | ||
default: "aarch64-apple-darwin" | ||
|
||
jobs: | ||
get_release: | ||
|
@@ -33,21 +32,21 @@ jobs: | |
outputs: | ||
upload_url: ${{ steps.get_upload_url.outputs.url }} | ||
steps: | ||
- uses: octokit/[email protected] | ||
id: get_release | ||
with: | ||
route: GET /repos/{owner}/{repo}/releases/tags/v${{ github.event.inputs.release_version }} | ||
owner: esp-rs | ||
repo: rust-build | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: get upload url | ||
id: get_upload_url | ||
run: | | ||
url=$(echo "$response" | jq -r '.upload_url') | ||
echo "::set-output name=url::$url" | ||
env: | ||
response: ${{ steps.get_release.outputs.data }} | ||
- uses: octokit/[email protected] | ||
id: get_release | ||
with: | ||
route: GET /repos/{owner}/{repo}/releases/tags/v${{ github.event.inputs.release_version }} | ||
owner: esp-rs | ||
repo: rust-build | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: get upload url | ||
id: get_upload_url | ||
run: | | ||
url=$(echo "$response" | jq -r '.upload_url') | ||
echo "::set-output name=url::$url" | ||
env: | ||
response: ${{ steps.get_release.outputs.data }} | ||
|
||
build-idf-rust: | ||
name: Build IDF Rust for ${{ matrix.os }} | ||
|
@@ -56,12 +55,12 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ macos-m1-self-hosted ] | ||
os: [macos-m1-self-hosted] | ||
include: | ||
- os: macos-m1-self-hosted | ||
ASSET_PATH: 'build/dist/rust-${{ github.event.inputs.rust_version }}-${{ github.event.inputs.rust_target }}.tar.xz' | ||
ASSET_NAME: 'rust-${{ github.event.inputs.release_version }}-${{ github.event.inputs.rust_target }}.tar.xz' | ||
ASSET_CONTENT_TYPE: 'application/x-tar' | ||
- os: macos-m1-self-hosted | ||
ASSET_PATH: "build/dist/rust-${{ github.event.inputs.rust_version }}-${{ github.event.inputs.rust_target }}.tar.xz" | ||
ASSET_NAME: "rust-${{ github.event.inputs.release_version }}-${{ github.event.inputs.rust_target }}.tar.xz" | ||
ASSET_CONTENT_TYPE: "application/x-tar" | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
@@ -85,4 +84,3 @@ jobs: | |
asset_path: ${{ matrix.ASSET_PATH }} | ||
asset_name: ${{ matrix.ASSET_NAME }} | ||
asset_content_type: ${{ matrix.ASSET_CONTENT_TYPE }} | ||
|
Oops, something went wrong.