Skip to content

Commit

Permalink
testando
Browse files Browse the repository at this point in the history
  • Loading branch information
andreriesco committed Jul 12, 2024
1 parent 7ea1a2c commit 8d2b156
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build-ccpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
run: |
docker run --rm --privileged torizon/binfmt
if ($env:PROJECT_ARCH -eq "arm64") { $env:TORIZON_ARCH = "aarch64" }
if ($env:PROJECT_ARCH -eq "armhf") { $env:TORIZON_ARCH = "armhf" }
echo "TORIZON_ARCH=$env:TORIZON_ARCH" | `
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
scripts/createFromTemplate.ps1 `
$env:GITHUB_WORKSPACE/$env:PROJECT_FOLDER `
"${env:PROJECT_FOLDER}CITest" `
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-debug-ccpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
run: |
docker run --rm --privileged torizon/binfmt
if ($env:PROJECT_ARCH -eq "arm64") { $env:TORIZON_ARCH = "aarch64" }
if ($env:PROJECT_ARCH -eq "armhf") { $env:TORIZON_ARCH = "armhf" }
echo "TORIZON_ARCH=$env:TORIZON_ARCH" | `
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
scripts/createFromTemplate.ps1 `
$env:GITHUB_WORKSPACE/$env:PROJECT_FOLDER `
"${env:PROJECT_FOLDER}CITest" `
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-debug-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
run: |
docker run --rm --privileged torizon/binfmt
if ($env:PROJECT_ARCH -eq "arm64") { $env:TORIZON_ARCH = "aarch64" }
if ($env:PROJECT_ARCH -eq "armhf") { $env:TORIZON_ARCH = "armhf" }
echo "TORIZON_ARCH=$env:TORIZON_ARCH" | `
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
scripts/createFromTemplate.ps1 `
$env:GITHUB_WORKSPACE/$env:PROJECT_FOLDER `
"${env:PROJECT_FOLDER}CITest" `
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-debug-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
run: |
docker run --rm --privileged torizon/binfmt
if ($env:PROJECT_ARCH -eq "arm64") { $env:TORIZON_ARCH = "aarch64" }
if ($env:PROJECT_ARCH -eq "armhf") { $env:TORIZON_ARCH = "armhf" }
echo "TORIZON_ARCH=$env:TORIZON_ARCH" | `
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
scripts/createFromTemplate.ps1 `
$env:GITHUB_WORKSPACE/$env:PROJECT_FOLDER `
"${env:PROJECT_FOLDER}CITest" `
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

run: |
docker run --rm --privileged torizon/binfmt
if ($env:PROJECT_ARCH -eq "arm64") { $env:TORIZON_ARCH = "aarch64" }
if ($env:PROJECT_ARCH -eq "armhf") { $env:TORIZON_ARCH = "armhf" }
echo "TORIZON_ARCH=$env:TORIZON_ARCH" | `
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
run: |
docker run --rm --privileged torizon/binfmt
if ($env:PROJECT_ARCH -eq "arm64") { $env:TORIZON_ARCH = "aarch64" }
if ($env:PROJECT_ARCH -eq "armhf") { $env:TORIZON_ARCH = "armhf" }
echo "TORIZON_ARCH=$env:TORIZON_ARCH" | `
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
scripts/createFromTemplate.ps1 `
$env:GITHUB_WORKSPACE/$env:PROJECT_FOLDER `
"${env:PROJECT_FOLDER}CITest" `
Expand Down
2 changes: 1 addition & 1 deletion scripts/torizonPackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)]
param()

$TORIZON_ARCH = "aarch64"
$TORIZON_ARCH = $env:TORIZON_ARCH

if ($TORIZON_ARCH -eq "aarch64") {
$TORIZON_ARCH = "arm64"
Expand Down

0 comments on commit 8d2b156

Please sign in to comment.