Skip to content

Commit

Permalink
fixing syntax and adjusting linux build folder location
Browse files Browse the repository at this point in the history
  • Loading branch information
ajm-asiaa committed Dec 6, 2023
1 parent 5dea120 commit 1e6c0d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/icd_tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runner: [self-hosted, linux, Docker, ICD]
image: ajmasiaa/rhel8-jenkins-apr2022
env:
SRC_DIR: carta-backend-${{ matrix.os_version }}
SRC_DIR: build-${{ matrix.os_version }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/icd_tests_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ICD tests macOS
on:
push:
schedule:
- cron: '0 0 * * *' # UTC time
- cron: '0 0 * * *'
env:
ICD_RXJS_BRANCH_NAME: ajm/icd-test-stages-lists

Expand Down Expand Up @@ -37,24 +37,23 @@ jobs:
cmake .. -Dtest=on \
-DCMAKE_BUILD_TYPE=Debug \
-DDevSuppressExternalWarnings=ON \
-DCMAKE_CXX_FLAGS='-O0 -g -fsanitize=address -fno-omit-frame-pointer' \
-DCMAKE_CXX_FLAGS='-O0 -g -fsanitize=address \
-fno-omit-frame-pointer' \
-DCMAKE_EXE_LINKER_FLAGS='-fsanitize=address'
make -j 16
- name: Check backend runs
shell: bash
run: |
./build/carta_backend --version
Prepare-ICD-RxJS:
name: Prepare-ICD-RxJS ${{ matrix.os_version }}
needs: Build
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
include:
- os_version: macOS-11
runner: macOS-11
runner: macOS-11
- os_version: macOS-12
runner: macOS-12
- os_version: macOS-13
Expand Down Expand Up @@ -126,12 +125,12 @@ jobs:
runner: macOS-13
os_version: [macOS-11, macOS-12, macOS-13]
needs: [File-Browser-ICD-Tests, Prepare-ICD-RxJS]
if: always()
if: always()
steps:
- name: Start carta-backend
uses: ./.github/actions/start-carta-backend-macos
with:
port: ${{ needs.Prepare-ICD-RxJS.outputs.port }}
port: ${{ needs.Prepare-ICD-RxJS.outputs.port }}
- name: Animator ICD tests
run: |
cd ICD-RxJS
Expand All @@ -157,7 +156,7 @@ jobs:
- os_version: macOS-13
runner: macOS-13
needs: [Animator-ICD-Tests, Prepare-ICD-RxJS]
if: always()
if: always()
steps:
- name: Start carta-backend
uses: ./.github/actions/start-carta-backend-macos
Expand Down Expand Up @@ -359,7 +358,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
include:
- os_version: macOS-11
runner: macOS-11
- os_version: macOS-12
Expand Down Expand Up @@ -389,7 +388,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
include:
- os_version: macOS-11
runner: macOS-11
- os_version: macOS-12
Expand Down Expand Up @@ -419,7 +418,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
include:
- os_version: macOS-11
runner: macOS-11
- os_version: macOS-12
Expand Down Expand Up @@ -502,4 +501,3 @@ jobs:
done
- name: Stop carta-backend
run: kill ${{ env.CARTA_BACKEND_PID }}

0 comments on commit 1e6c0d4

Please sign in to comment.