-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check hal in GHA, small crates on mac, build hil on vm
- Loading branch information
Showing
2 changed files
with
20 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
|
||
esp-hal: | ||
name: esp-hal (${{ matrix.device.soc }}) | ||
runs-on: macos-m1-self-hosted | ||
runs-on: ubuntu-latest | ||
env: | ||
SSID: SSID | ||
PASSWORD: PASSWORD | ||
|
@@ -72,19 +72,10 @@ jobs: | |
target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf | ||
toolchain: ${{ env.MSRV }} | ||
components: rust-src | ||
- name: install esp toolchain | ||
run: | | ||
if [ ! -f "$HOME/.cargo/bin/espup" ]; then | ||
curl -L https://github.com/esp-rs/espup/releases/latest/download/espup-aarch64-apple-darwin -o "$HOME/.cargo/bin/espup" | ||
chmod a+x "$HOME/.cargo/bin/espup" | ||
fi | ||
source "$HOME/.cargo/env" | ||
"$HOME/.cargo/bin/espup" install -l debug --export-file $HOME/exports --targets all --toolchain-version 1.84.0.0 | ||
source "$HOME/exports" | ||
echo "$PATH" >> "$GITHUB_PATH" | ||
echo "LIBCLANG_PATH=${LIBCLANG_PATH}" >> "$GITHUB_ENV" | ||
rustup override unset | ||
- uses: esp-rs/[email protected] | ||
with: | ||
ldproxy: false | ||
version: 1.84.0.0 | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
|
@@ -96,7 +87,7 @@ jobs: | |
toolchain: ${{ matrix.device.toolchain }} | ||
|
||
extras: | ||
runs-on: [self-hosted, X64] | ||
runs-on: macos-m1-self-hosted | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -181,7 +172,7 @@ jobs: | |
# Format | ||
|
||
rustfmt: | ||
runs-on: [self-hosted, X64] | ||
runs-on: macos-m1-self-hosted | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -200,7 +191,7 @@ jobs: | |
# host tests | ||
|
||
host-tests: | ||
runs-on: [self-hosted, X64] | ||
runs-on: macos-m1-self-hosted | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
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