Skip to content

Commit

Permalink
Docker image and workflow hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ipadjen committed Feb 5, 2025
1 parent aeb6c93 commit 441d725
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install libgmp-dev libmpfr-dev libboost-all-dev libeigen3-dev libomp-dev libgdal-dev
- name: Download CGAL 6.0
- name: Download CGAL 6.0.1
run: |
wget https://github.com/CGAL/cgal/releases/download/v6.0/CGAL-6.0-library.tar.xz -P ${{ github.workspace }}
wget https://github.com/CGAL/cgal/releases/download/v6.0.1/CGAL-6.0.1-library.tar.xz -P ${{ github.workspace }}
cd ${{ github.workspace }}
tar -xvf CGAL-6.0-library.tar.xz
tar -xvf CGAL-6.0.1-library.tar.xz
- name: Build
run: |
mkdir build && cd build
cmake .. -DCGAL_DIR=${{ github.workspace }}/CGAL-6.0 && make -j4
cmake .. -DCGAL_DIR=${{ github.workspace }}/CGAL-6.0.1 && make -j4
build_linux_2204:
runs-on: ubuntu-22.04
Expand All @@ -34,15 +34,15 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install libgmp-dev libmpfr-dev libboost-all-dev libeigen3-dev libomp-dev libgdal-dev
- name: Download CGAL 6.0
- name: Download CGAL 6.0.1
run: |
wget https://github.com/CGAL/cgal/releases/download/v6.0/CGAL-6.0-library.tar.xz -P ${{ github.workspace }}
wget https://github.com/CGAL/cgal/releases/download/v6.0.1/CGAL-6.0.1-library.tar.xz -P ${{ github.workspace }}
cd ${{ github.workspace }}
tar -xvf CGAL-6.0-library.tar.xz
tar -xvf CGAL-6.0.1-library.tar.xz
- name: Build
run: |
mkdir build && cd build
cmake .. -DCGAL_DIR=${{ github.workspace }}/CGAL-6.0 && make -j4
cmake .. -DCGAL_DIR=${{ github.workspace }}/CGAL-6.0.1 && make -j4
build_macos:
runs-on: macos-latest
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## [0.6.1] - 2025-02-05
### Fixed
- Docker image hotfix

## [0.6.0] - 2025-01-03
### Changed
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (CGAL_VERSION VERSION_GREATER_EQUAL "6.0.1")
message(STATUS "Found CGAL version ${CGAL_VERSION}")
else()
message(FATAL_ERROR "Found CGAL version ${CGAL_VERSION} which is not supported!"
"Please use CGAL version 6.0.1 or higher")
" Please use CGAL version 6.0.1 or higher")
return()
endif ()

Expand Down
8 changes: 4 additions & 4 deletions docker/city4cfd-build-base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /tmp/*

# Download and extract CGAL
RUN wget https://github.com/CGAL/cgal/releases/download/v6.0/CGAL-6.0-library.tar.xz \
&& tar -xf CGAL-6.0-library.tar.xz -C /opt \
&& rm CGAL-6.0-library.tar.xz
RUN wget https://github.com/CGAL/cgal/releases/download/v6.0.1/CGAL-6.0.1-library.tar.xz \
&& tar -xf CGAL-6.0.1-library.tar.xz -C /opt \
&& rm CGAL-6.0.1-library.tar.xz

# Set environment variable for CGAL
ENV CGAL_DIR=/opt/CGAL-6.0
ENV CGAL_DIR=/opt/CGAL-6.0.1
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include <boost/algorithm/string/predicate.hpp>

std::string CITY4CFD_VERSION = "0.6.0";
std::string CITY4CFD_VERSION = "0.6.1";

void printWelcome() {
auto logo{
Expand Down

0 comments on commit 441d725

Please sign in to comment.