Skip to content

Commit

Permalink
Update linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DBauer15 authored Apr 1, 2024
1 parent 932a0b9 commit 7e3fde7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
mkdir -p ${{github.workspace}}/dependencies
mkdir -p ${{github.workspace}}/build
mkdir -p ${{github.workspace}}/install
mkdir -p ${{github.workspace}}/${PACKAGE_NAME}
sudo apt update
- name: Download TBB
Expand All @@ -40,7 +40,7 @@ jobs:
working-directory: ${{github.workspace}}/build
run: >
cmake $GITHUB_WORKSPACE
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/${PACKAGE_NAME}
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
-DSTAGE_LOGGING_OFF=ON
-DBUILD_SHARED_LIBS=ON
Expand All @@ -50,15 +50,8 @@ jobs:
working-directory: ${{github.workspace}}/build
run: cmake --build . -j --target install

- name: Package
working-directory: ${{github.workspace}}/install
run: |
mkdir -p ${PACKAGE_NAME}
mv include lib ${PACKAGE_NAME}
tar -czvf ${PACKAGE_NAME}.tar.gz ${PACKAGE_NAME}
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ${{env.PACKAGE_NAME}}
path: ${{github.workspace}}/install/${{env.PACKAGE_NAME}}.tar.gz
path: ${{github.workspace}}/${{env.PACKAGE_NAME}}

0 comments on commit 7e3fde7

Please sign in to comment.