Skip to content

Add actions to build QNX config #2

Add actions to build QNX config

Add actions to build QNX config #2

# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
name: Toolchains QNX Tests CI
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
code:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tests
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Bazel
uses: bazel-contrib/[email protected]
- name: Setup QNX License
env:
SCORE_QNX_LICENSE: ${{ secrets.SCORE_QNX_LICENSE }}
run: |
mkdir -p /opt/score_qnx/license
echo $SCORE_QNX_LICENSE | base64 --decode > /opt/score_qnx/license/licenses
post: |

Check failure on line 34 in .github/workflows/toolchains-qnx-tests.yml

View workflow run for this annotation

GitHub Actions / Toolchains QNX Tests CI

Invalid workflow file

The workflow is not valid. .github/workflows/toolchains-qnx-tests.yml (Line: 34, Col: 9): Unexpected value 'post'
rm -rf /opt/score_qnx
- name: Run build
env:
SCORE_QNX_LOGIN: ${{ secrets.SCORE_QNX_USER }}
SCORE_QNX_PASSWORD: ${{ secrets.SCORE_QNX_PASSWORD }}
run: |
bazel build //... --config=x86_64_qnx --credential_helper=*.qnx.com=${{ github.workspace }}/tools/qnx_credential_helper.py