Skip to content

Commit

Permalink
upload deb workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
haichangsi committed Jul 15, 2024
1 parent 2376ba6 commit 079f290
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install packages
run: |
sudo apt-get install libgtest-dev libfmt-dev, libcxxopts-dev, libfmt-dev, cmake, g++ -y
sudo apt-get install libgtest-dev libfmt-dev libcxxopts-dev libfmt-dev cmake g++ -y
sudo apt-get remove libgcc-14-dev cpp-14-x86-64-linux-gnu -y # gcc14 toolkit not supported yet by DR
# install packages from oneAPI like oneDPL does
# apt-get install build-essential debhelper=13* cmake g++-12 git mpi-default-dev libfmt-dev librange-v3-dev devscripts dh-make libgtest-dev libcxxopts-dev
Expand All @@ -167,12 +167,15 @@ jobs:
. /opt/intel/oneapi/setvars.sh
cd ..
dpkg-deb --build distributed-ranges
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: always()
- name: Workaround actions/upload-artifact#176
run: |
echo "artifacts_path=$(realpath ..)" >> $GITHUB_ENV
- name: Upload a deb artifact
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: dr_deb
path: |
../distributed-ranges.deb
${{ env.artifacts_path }}/*.deb
publish:
Expand Down

0 comments on commit 079f290

Please sign in to comment.