Skip to content

Commit

Permalink
Use version specific build dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDenisov committed Dec 13, 2024
1 parent a5e6fff commit 587cdd4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ jobs:
UBUNTU_CODENAME=$(. /etc/os-release; echo "${UBUNTU_CODENAME/*, /}")
env CLOUDSMITH_API_KEY=${{ secrets.CLOUDSMITH_API_KEY }} cloudsmith push deb \
mull-project/mull-${{ steps.metadata.outputs.channel }}/${{ matrix.OS_NAME }}/${UBUNTU_CODENAME} \
build.dir/*.deb
build.${{ matrix.LLVM_VERSION }}.dir/*.deb
- name: Move package
run: |
mkdir -p /tmp/packages
sudo mv build.dir/*.deb /tmp/packages/
sudo mv build.${{ matrix.LLVM_VERSION }}.dir/*.deb /tmp/packages/
- uses: ./actions/attach-package
with:
Expand Down
2 changes: 1 addition & 1 deletion end2end-tests/run_end2end_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (( $LLVM_VERSION < 16 )); then
fi

# Install mull system-wide
dpkg -i build.dir/*.deb
dpkg -i build.${LLVM_VERSION}.dir/*.deb

pushd `dirname "$0"`

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/templates/cmake-presets/ubuntu.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "mull",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build.dir",
"binaryDir": "${sourceDir}/build.{{{LLVM_VERSION}}}.dir",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "clang-{{LLVM_VERSION}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ jobs:
UBUNTU_CODENAME=$(. /etc/os-release; echo "${UBUNTU_CODENAME/*, /}")
env CLOUDSMITH_API_KEY=${{ secrets.CLOUDSMITH_API_KEY }} cloudsmith push deb \
mull-project/mull-${{ steps.metadata.outputs.channel }}/${{ matrix.OS_NAME }}/${UBUNTU_CODENAME} \
build.dir/*.deb
build.${{ matrix.LLVM_VERSION }}.dir/*.deb

- name: Move package
run: |
mkdir -p /tmp/packages
sudo mv build.dir/*.deb /tmp/packages/
sudo mv build.${{ matrix.LLVM_VERSION }}.dir/*.deb /tmp/packages/

- uses: ./actions/attach-package
with:
Expand Down

0 comments on commit 587cdd4

Please sign in to comment.