Skip to content

Commit

Permalink
CI: Attempt to run on self-hosted ARM runner
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Jun 24, 2021
1 parent ebe17fb commit 8eeff1f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ jobs:
build:
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
# defaults:
# run:
# # apparently pwsh commands are templated into a temp file outside the current directory
# working-directory: "${{ github.workspace }}"
# ARM workflows are run on ORACLE Cloud via this package:
# https://github.com/oracle-quickstart/oci-github-actions-runner
strategy:
fail-fast: false
matrix:
Expand All @@ -41,12 +39,12 @@ jobs:
configuration: Release
runTests: true
# For Raspberry Pis
- os: ubuntu-latest
- os: [self-hosted, linux, ARM64]
rid: linux-arm
configuration: Release
runTests: false # not currently supported by github actions
# For generic linux arm
- os: ubuntu-latest
- os: [self-hosted, linux, ARM64]
rid: linux-arm64
configuration: Release
runTests: false # not currently supported by github actions, but also failing in .NET project SDKs. Try again in .NET 6?
Expand All @@ -61,7 +59,8 @@ jobs:
runTests: true
name: "${{ matrix.rid || 'Any' }}, ${{ matrix.configuration }}"
runs-on: ${{ matrix.os }}

# don't trigger build for forks
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
steps:
# NOTE: the preliminary steps should be identical to ./build-docs.yml
# checkout code and cache lfs
Expand Down

0 comments on commit 8eeff1f

Please sign in to comment.