Skip to content

Commit

Permalink
GHI #20 Rename some stuff [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Dec 21, 2023
1 parent ee266a2 commit a4fb2a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/reusable-test-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
shell: bash
run: |
# set up directory
mkdir -p upload/cov/${{ env.UNIQUE_ID }}
mkdir -p upload/cov/${{ env.UNIQUE_NAME }}
cd patomic/build
# macos needs xcrun to help use xcode to run llvm tools
Expand All @@ -161,18 +161,18 @@ jobs:
# copy over merged coverage output and corresponding binary
# use variable because cp does not support globbing in file names
lib_files=(libpatomic.*) # matches shared/static lib files and symlinks
cp "${lib_files[0]}" ../../upload/cov/${{ env.UNIQUE_ID }}/patomic.bin
cp default.profdata ../../upload/cov/${{ env.UNIQUE_ID }}/patomic.profdata
cp "${lib_files[0]}" ../../upload/cov/${{ env.UNIQUE_NAME }}/patomic.bin
cp default.profdata ../../upload/cov/${{ env.UNIQUE_NAME }}/patomic.profdata
# GitHub issue #65006 on llvm/llvm-project suggests to NOT use -fcoverage-prefix-map
# macos runner has AppleClang 14 which doesn't support -fcoverage-compilation-dir
# workaround is to store root path to help use coverage directory mappings later
cd ../..
echo "$PWD" >> upload/cov/${{ env.UNIQUE_ID }}/patomic.rootpath
echo "$PWD" >> upload/cov/${{ env.UNIQUE_NAME }}/patomic.rootpath
- name: Upload Coverage Results
if: env.SKIP_JOB != 'true' && matrix.kind == 'coverage'
uses: actions/upload-artifact@v3
with:
name: test-coverage
name: test-coverage-internal
path: upload/cov/

0 comments on commit a4fb2a6

Please sign in to comment.