Skip to content

Commit

Permalink
add package/unpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Dec 4, 2024
1 parent 93ea0bb commit 445fce3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/actions/do_build_dpcpp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,22 @@ runs:
run: |
mkdir -p llvm/build/install
cd llvm/build/install
# TODO: add logic to get latest nightly
wget -q https://github.com/intel/llvm/releases/download/nightly-2024-12-04/sycl_linux.tar.gz
tar xf sycl_linux.tar.gz
rm sycl_linux.tar.gz
- name: package artefacts # package/unpackage avoids known 'permissions loss' issue
shell: bash
run: |
cd llvm/build/install
echo LISTING
ls -lRa
ls -la
tar tf dpcpp.tar *
- name: upload dpcpp artifact
uses: actions/upload-artifact@v4
with:
name: dpcpp_${{inputs.target}}
path: llvm/build/install
path: llvm/build/install/dpcpp.tar
retention-days: 1
11 changes: 9 additions & 2 deletions .github/actions/do_build_sycl_cts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ runs:
name: dpcpp_${{inputs.target}}
path: install_dpcpp

- name: unpackage artifacts # package/unpackage avoids known 'permissions loss' issue
shell: bash
run: |
cd install_dpcpp
tar cf dpcpp.tar
rm dpcpp.tar
echo LISTING
ls -la
- name: checkout sycl cts
uses: actions/checkout@v4
with:
Expand All @@ -44,8 +53,6 @@ runs:
- name: build SYCL CTS
shell: bash
run: |
echo LISTING
ls -lRa install_dpcpp
echo calling cmake and ninja on SYCL CTS
# Todo: as we extend into cross etc, we may want to expand on the cxx flags
# We build SYCL-CTS without installing it, so build directly in the top level.
Expand Down

0 comments on commit 445fce3

Please sign in to comment.