Skip to content

Commit e6e7e43

Browse files
committed
Add workflow to test n-1 static loader from main with dynamic loader from PR
Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
1 parent bb23339 commit e6e7e43

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/build-quick-static-n-1.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
permissions: read-all
99

1010
jobs:
11-
# Linux job: Build static loader from main, dynamic loader from PR, test static loader with PR dynamic loader
11+
# Linux job: Build static loader from master, dynamic loader from PR, test static loader with PR dynamic loader
1212
build-linux:
1313
if: github.repository_owner == 'oneapi-src'
1414
runs-on: ubuntu-latest
@@ -19,18 +19,18 @@ jobs:
1919
fetch-depth: 0
2020
path: pr
2121

22-
# Checkout main branch for static loader source
23-
- name: Checkout main branch for static loader
22+
# Checkout master branch for static loader source
23+
- name: Checkout master branch for static loader
2424
uses: actions/checkout@v3
2525
with:
26-
ref: main
26+
ref: master
2727
fetch-depth: 0
28-
path: main
28+
path: master
2929

30-
# Build static loader from main branch
31-
- name: Build Static Loader from main
30+
# Build static loader from master branch
31+
- name: Build Static Loader from master
3232
run: |
33-
cd main
33+
cd master
3434
mkdir build
3535
cd build
3636
cmake \
@@ -57,15 +57,15 @@ jobs:
5757
make -j$(nproc)
5858
5959
# Run CTest in static loader's build directory, using PR dynamic loader via ZEL_LIBRARY_PATH
60-
- name: Run CTest with PR dynamic loader and main static loader
60+
- name: Run CTest with PR dynamic loader and master static loader
6161
env:
6262
ZEL_LIBRARY_PATH: '${{ github.workspace }}/pr/dynamic_build/lib'
63-
working-directory: main/build
63+
working-directory: master/build
6464
run: |
6565
ls $ZEL_LIBRARY_PATH
6666
ctest -V
6767
68-
# Windows job: Build static loader from main, dynamic loader from PR, test static loader with PR dynamic loader
68+
# Windows job: Build static loader from master, dynamic loader from PR, test static loader with PR dynamic loader
6969
build-windows:
7070
if: github.repository_owner == 'oneapi-src'
7171
runs-on: windows-latest
@@ -76,18 +76,18 @@ jobs:
7676
fetch-depth: 0
7777
path: pr
7878

79-
# Checkout main branch for static loader source
80-
- name: Checkout main branch for static loader
79+
# Checkout master branch for static loader source
80+
- name: Checkout master branch for static loader
8181
uses: actions/checkout@v3
8282
with:
83-
ref: main
83+
ref: master
8484
fetch-depth: 0
85-
path: main
85+
path: master
8686

87-
# Build static loader from main branch
88-
- name: Build Static Loader from main
87+
# Build static loader from master branch
88+
- name: Build Static Loader from master
8989
run: |
90-
cd main
90+
cd master
9191
mkdir build
9292
cd build
9393
cmake -D BUILD_L0_LOADER_TESTS=1 -D BUILD_STATIC=1 ..
@@ -103,8 +103,8 @@ jobs:
103103
cmake --build . --config Release
104104
105105
# Run CTest in static loader's build directory, using PR dynamic loader via ZEL_LIBRARY_PATH
106-
- name: Run CTest with PR dynamic loader and main static loader
106+
- name: Run CTest with PR dynamic loader and master static loader
107107
env:
108108
ZEL_LIBRARY_PATH: '${{ github.workspace }}\\pr\\dynamic_build\\bin\\Release'
109-
working-directory: main/build
109+
working-directory: master/build
110110
run: ctest -C Release -V

0 commit comments

Comments
 (0)