Skip to content

Commit

Permalink
Another attempt to fix matrix os
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Apr 9, 2024
1 parent 70cd833 commit 9f9cbe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: CI Build
on: [push, pull_request]

env:
os_with_codebuild: [ ubuntu-latest, windows-latest, macos-latest, "codebuild-ion-rust-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-large", "codebuild-ion-rust-${{ github.run_id }}-${{ github.run_attempt }}-al2-5.0-large" ]
os_without_codebuild: [ ubuntu-latest, windows-latest, macos-latest ]
os_with_codebuild: '["ubuntu-latest", "windows-latest", "macos-latest", "{0}-arm-3.0-large", "{0}-al2-5.0-large"]'
os_without_codebuild: '["ubuntu-latest", "windows-latest", "macos-latest"]'

jobs:
build:
name: Build and Test
runs-on: ${{ matrix.os }}
runs-on: ${{ format(matrix.os, "codebuild-ion-rust-${{ github.run_id }}-${{ github.run_attempt }}") }}
# We want to run on external PRs, but not on internal ones as push automatically builds
# H/T: https://github.com/Dart-Code/Dart-Code/commit/612732d5879730608baa9622bf7f5e5b7b51ae65
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'amazon-ion/ion-rust'
Expand Down

0 comments on commit 9f9cbe2

Please sign in to comment.