Skip to content

Commit

Permalink
add ubuntu set-up job to build action
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Oct 16, 2024
1 parent 01c0c79 commit 78d08c4
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/actions/do_build_ock/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,13 @@ inputs:
description: "which shell to use (default bash)"
default: bash

env:
EXTERNAL_CLC: unset

runs:
# we don't want a new docker just a list of steps, so mark as composite
using: "composite"
steps:

- name: set ICD registry
id: set_windows
if: startsWith(runner.os, 'Windows')
shell: ${{ inputs.shell_to_use }}
run: |
Expand All @@ -122,9 +120,16 @@ runs:
$PATTERN = '[\\]'
$GITHUB_WORKSPACELINUX = $GITHUB_WORKSPACELINUX -replace $PATTERN, '/'
echo GITHUB_WORKSPACELINUX is $GITHUB_WORKSPACELINUX
echo EXTERNAL_CLC is $env.EXTERNAL_CLC
$env.EXTERNAL_CLC = $GITHUB_WORKSPACELINUX
echo EXTERNAL_CLC is $env.EXTERNAL_CLC
echo "windwsclc=$GITHUB_WORKSPACELINUX" >> $GITHUB_OUTPUT
- name: set external_clc ubuntu
id: set_ubuntu
if: startsWith(runner.os, 'Ubuntu')
shell: ${{ inputs.shell_to_use }}
run: |
GITHUB_WORKSPACELINUX = ${{ inputs.external_clc }}
echo GITHUB_WORKSPACELINUX is $GITHUB_WORKSPACELINUX
echo "ubuntuclc=$GITHUB_WORKSPACELINUX" >> $GITHUB_OUTPUT
- name: cmake_ock
shell: ${{ inputs.shell_to_use }}
Expand Down

0 comments on commit 78d08c4

Please sign in to comment.