File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ git clone --recursive https://github.com/mercury-hpc/mercury.git
19
19
cd mercury
20
20
git checkout v2.2.0
21
21
mkdir build && cd build
22
- cmake ../ -DCMAKE_C_COMPILER=gcc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DMERCURY_USE_CHECKSUMS=OFF -DNA_OFI_TESTING_PROTOCOL=sockets
22
+ cmake ../ -DCMAKE_C_COMPILER=gcc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DMERCURY_USE_CHECKSUMS=OFF -DNA_OFI_TESTING_PROTOCOL=sockets -DCMAKE_POLICY_VERSION_MINIMUM=3.5
23
23
make -j2 && sudo make install
24
24
ctest
Original file line number Diff line number Diff line change 22
22
23
23
- name : Update branch
24
24
run : |
25
- git fetch stable
25
+ git fetch origin stable
26
26
git remote add gitlab https://${{ secrets.GITLAB_TOKEN_NAME }}:${{ secrets.GITLAB_TOKEN }}@${{ secrets.GITLAB_URL }}
27
27
git checkout stable
28
28
git push -f gitlab -u stable
Original file line number Diff line number Diff line change 1
1
name : NERSC
2
2
3
3
on :
4
- pull_request_target
4
+ pull_request
5
5
6
6
env :
7
7
PR_NUMBER : ${{ github.event.number }}
8
8
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11
+ cancel-in-progress : true
12
+
9
13
jobs :
10
14
authorize :
11
- environment :
12
- ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
13
15
runs-on : ubuntu-latest
14
16
steps :
15
17
- run : true
35
37
git fetch origin pull/${PR_NUMBER}/head:PR-${PR_SHA}
36
38
git remote add gitlab https://${{ secrets.GITLAB_TOKEN_NAME }}:${{ secrets.GITLAB_TOKEN }}@${{ secrets.GITLAB_URL }}
37
39
git checkout PR-${PR_SHA}
38
- git push -f gitlab -u PR-${PR_SHA}
40
+ git push -f gitlab -u PR-${PR_SHA}
You can’t perform that action at this time.
0 commit comments