Skip to content

Commit

Permalink
TBD
Browse files Browse the repository at this point in the history
  • Loading branch information
coldav committed Oct 25, 2024
1 parent be927ac commit 2c10c7f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/planned_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,19 @@ jobs:
target_list: ${{ steps.step1.outputs.target_list }}
os_list: ${{ steps.step1.outputs.os_list }}
steps:
- uses: actions/checkout@v3
- id: step1
run: |
echo "target_list=$target_list" >> "$GITHUB_OUTPUT"
echo "os_list=$os_list" >> "$GITHUB_OUTPUT"
# echo "target_list=${{ inputs.target_list }}" >> "$GITHUB_OUTPUT"
# echo "os_list=${{ inputs.os_list }}" >> "$GITHUB_OUTPUT"
echo "target_list=$target_list" >> "$GITHUB_OUTPUT"
echo "os_list=$os_list" >> "$GITHUB_OUTPUT"
# echo 'target_list=${{ inputs.target_list }}' >> "$GITHUB_OUTPUT"
# echo 'os_list=${{ inputs.os_list }}' >> "$GITHUB_OUTPUT"
cat $GITHUB_OUTPUT
create_ock_artefacts:
needs: calc_matrix
strategy:
matrix:
arch: ${{ fromJson(needs.calc_matrix.outputs.target_list) }}
target: ${{ fromJson(needs.calc_matrix.outputs.target_list) }}
os: ${{ fromJson(needs.calc_matrix.outputs.os_list) }}
build_type: [RelAssert]

Expand All @@ -63,7 +62,9 @@ jobs:
- name: Build ock (pretend)
# if: ${{ contains(inputs.target_linux.matrix.arch, matrix.arch) }}
run:
echo Running for ${{ matrix.arch }} on os ${{ matrix.os}} input is ${{ inputs.target_linux }})
echo Running for ${{ matrix.target }} on os ${{ matrix.os}}

# input is ${{ inputs.target_list}} and ${{ inputs.os_list }}

# echo "${{ matrix.os }} ${{ matrix.build_type }} ${{ matrix.arch }}" > foo.txt

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/planned_testing_caller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/planned_testing.yml
with:
target_list: '["x86_64"]'
os_list: '["ubuntu-22.04"]'
target_list: '["x86_64, "riscv64"]'
os_list: '["ubuntu-22.04", "windows-2019"]'
# target_host_aarch64_linux: true

# # Could have multiple here
Expand Down

0 comments on commit 2c10c7f

Please sign in to comment.