Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Dec 12, 2024
1 parent 42d441a commit 3c51163
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/qnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ concurrency:
env:
CC: qcc
CXX: q++
TEST_FILTER: "--gtest_filter=-*LiveSearchTXT*:*LiveSearchANY*"
CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=DEBUG -DCARES_STATIC=ON -DCARES_STATIC_PIC=ON -G Ninja -DCMAKE_SYSTEM_NAME=QNX -DCMAKE_FIND_ROOT_PATH=${{ github.workspace }}/qnx800/target/qnx8 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY"
CONFIG_OPTS: ""

jobs:
build:
runs-on: ubuntu-latest
name: "QNX"
steps:
- name: Install packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake ninja-build autoconf automake libtool
version: 1.0
# Logic for intalling SDP taken right out of https://github.com/qnx-ports/build-files/blob/main/.github/workflows/c-ares.yml
- name: Download SDP 8.0
env:
LICENSE_KEY: ${{ secrets.LICENSE_KEY }}
Expand All @@ -28,8 +34,8 @@ jobs:
run: |
echo "Downloading QNX Software Center ..."
mkdir ${{ github.workspace }}/.qnx
curl -v --cookie-jar ${{ github.workspace }}/.qnx/myqnxcookies.auth --form "userlogin=$MYQNX_USER" --form "password=$MYQNX_PASSWORD" -X POST https://www.qnx.com/account/login.html > login_response.html
curl -v -L --cookie ${{ github.workspace }}/.qnx/myqnxcookies.auth https://www.qnx.com/download/download/77351/qnx-setup-2.0.3-202408131717-linux.run > qnx-setup-lin.run
curl --cookie-jar ${{ github.workspace }}/.qnx/myqnxcookies.auth --form "userlogin=$MYQNX_USER" --form "password=$MYQNX_PASSWORD" -X POST https://www.qnx.com/account/login.html > login_response.html
curl -L --cookie ${{ github.workspace }}/.qnx/myqnxcookies.auth https://www.qnx.com/download/download/77351/qnx-setup-2.0.3-202408131717-linux.run > qnx-setup-lin.run
chmod a+x qnx-setup-lin.run
./qnx-setup-lin.run force-override disable-auto-start agree-to-license-terms ${{ github.workspace }}/qnxinstall
echo "Installing License ..."
Expand All @@ -46,6 +52,7 @@ jobs:
BUILD_TYPE: CMAKE
run: |
source "${{ github.workspace }}/qnx800/qnxsdp-env.sh"
qcc -V
cd c-ares
./ci/build.sh
- name: "Autotools: build c-ares"
Expand Down

0 comments on commit 3c51163

Please sign in to comment.