Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Dec 12, 2024
1 parent 643dca3 commit f2d5579
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/qnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:
group: ${{ github.ref }}-qnx
cancel-in-progress: true

env:
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_C_COMPILER=qcc -DCMAKE_CXX_COMPILER=q++ -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"

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -22,8 +26,6 @@ jobs:
run: |
echo "Downloading QNX Software Center ..."
mkdir ${{ github.workspace }}/.qnx
echo "user: ${MYQNX_USER}"
echo "pass: ${MYQNX_PASS}"
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
chmod a+x qnx-setup-lin.run
Expand All @@ -35,14 +37,18 @@ jobs:
${{ github.workspace }}/qnxinstall/qnxsoftwarecenter/qnxsoftwarecenter_clt -mirror -cleanInstall -destination ${{ github.workspace }}/qnx800 -installBaseline com.qnx.qnx800 -myqnx.user="$MYQNX_USER" -myqnx.password="$MYQNX_PASSWORD"
- name: Checkout c-ares
uses: actions/checkout@v4
with:
path: c-ares
- name: "CMake: build c-ares"
env:
BUILD_TYPE: CMAKE
run: |
cd c-ares
./ci/build.sh
- name: "Autotools: build c-ares"
env:
BUILD_TYPE: autotools
run: |
cd c-ares
./ci/build.sh

0 comments on commit f2d5579

Please sign in to comment.