Skip to content
Snippets Groups Projects
Unverified Commit 7a1d9351 authored by Shenghang Tsai's avatar Shenghang Tsai Committed by GitHub
Browse files

Fix clang plugin core file not found (#5390)


* refine

* Update test.yml

* Update test.yml

* Update test.yml

* refine

Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
parent 275c725a
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,9 @@ jobs:
if: always()
continue-on-error: true
run: |
ulimit -c
ulimit -c unlimited
ulimit -c
mkdir -p build
cd build
./bin/oneflow_testexe
......@@ -149,6 +152,9 @@ jobs:
if: always()
continue-on-error: true
run: |
ulimit -c
ulimit -c unlimited
ulimit -c
source build/source.sh
ONEFLOW_TEST_GITHUB_HOSTED=1 ONEFLOW_TEST_CPU_ONLY=1 bash ci/test/1node_op_test.sh
shell: bash
......
......@@ -136,17 +136,24 @@ jobs:
-DCMAKE_CXX_FLAGS="-fplugin=${{ env.clang_plugin_path }}"
- name: Build (third party)
run: |
ulimit -c
ulimit -c unlimited
ulimit -c
cd build
cmake --build . -j$(nproc) --target oneflow_deps
- name: Check unused Maybe (by building OneFlow with Clang plug-in)
run: |
ulimit -c
ulimit -c unlimited
ulimit -c
cd build
cmake --build . -j$(nproc)
- name: Tar core
if: always()
continue-on-error: true
run: |
set -ex
tar -cvf build_core.tar ${PWD}/build/core.*
tar -cvf build_core.tar ${PWD}/build/**/core.*
- name: Upload core
if: always()
uses: actions/upload-artifact@v2
......@@ -171,7 +178,7 @@ jobs:
exit 0
fi
echo "is_secrets_accessible=1" >> $GITHUB_ENV
- uses: Oneflow-Inc/gh-action-scheduler-v2@849c5f271f5a3673ea33ce6d75ce5ebc0b288b3d
- uses: Oneflow-Inc/gh-action-scheduler-v2@1e45bd715c873bc3a14a87ddaf494f9b686137de
name: Wait for GPU slot
if: env.is_secrets_accessible == '1'
env:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment