Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Aug 14, 2024
1 parent 1afd745 commit a34c5e6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 55 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ jobs:
fail-fast: true
matrix:
distro:
- 'ubuntu-24.04'
- 'ubuntu-22.04'
- 'ubuntu-20.04'
include:
- distro: 'ubuntu-24.04'
pre: 'noble'
- distro: 'ubuntu-22.04'
pre: 'jammy'
- distro: 'ubuntu-20.04'
Expand Down
3 changes: 1 addition & 2 deletions BuildTools/ubuntu/create_deb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash


if ! [ -d build ]; then
echo "Please run build.sh to build GeoDa executable file first."
exit
Expand All @@ -19,7 +18,7 @@ if [[ $MACHINE_TYPE != 'x86_64' ]]; then
fi

if [[ $# -ne 2 ]]; then
echo "create_deb.sh focal|jammy 1.22"
echo "create_deb.sh focal|jammy|noble 1.22"
exit
fi

Expand Down
4 changes: 1 addition & 3 deletions BuildTools/ubuntu/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ $APT install -y gdal-bin
$APT install -y libgdal-dev
$APT install -y unzip cmake dh-autoreconf libgtk-3-dev libgl1-mesa-dev libglu1-mesa-dev

if [ $OS = 'jammy' ] ; then
$APT install -y libwebkit2gtk-4.0-dev
elif [ $OS = 'focal' ] ; then
if [ $OS = 'jammy' ] || [ $OS = 'focal' ] || [ $OS = 'noble' ]; then
$APT install -y libwebkit2gtk-4.0-dev
else
$APT install -y libwebkitgtk-3.0-dev
Expand Down
13 changes: 13 additions & 0 deletions BuildTools/ubuntu/package/DEBIAN/control_noble
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Package: geoda
Version: 1.22-1noble1
Architecture: amd64
Priority: optional
Section: graphics
Installed-Size: 121795
Depends: libgdal30, zlib1g, libexpat1, freeglut3, libreadline8, libgtk-3-0, libssl3, libwebkit2gtk-4.0-37
Maintainer: Luc Anselin < [email protected] >
Provides: geoda
Homepage: http://spatial.uchicago.edu
Description: GeoDa Software
GeoDa Software for Geospatial Analysis and Computation

15 changes: 0 additions & 15 deletions BuildTools/windows/installer/32bit/GeoDa-win7+.iss
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,6 @@ Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\
;Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\"; ValueType: String; ValueName: "{app}\GeoDa.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1

[Code]
function IsX64: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paX64);
end;
function IsIA64: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paIA64);
end;
function IsOtherArch: Boolean;
begin
Result := not IsX64 and not IsIA64;
end;
function VCRedistNeedsInstall: Boolean;
begin
Result := not RegKeyExists(HKLM,'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{03d1453c-7d5c-479c-afea-8482f406e036}');
Expand Down
15 changes: 0 additions & 15 deletions BuildTools/windows/installer/32bit/GeoDa.iss
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,6 @@ Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\
;Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\"; ValueType: String; ValueName: "{app}\GeoDa.exe"; ValueData: "RUNASADMIN"; Flags: uninsdeletekeyifempty uninsdeletevalue; MinVersion: 0,6.1

[Code]
function IsX64: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paX64);
end;
function IsIA64: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paIA64);
end;
function IsOtherArch: Boolean;
begin
Result := not IsX64 and not IsIA64;
end;
function VCRedistNeedsInstall: Boolean;
begin
Result := not RegKeyExists(HKLM,'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{03d1453c-7d5c-479c-afea-8482f406e036}');
Expand Down
10 changes: 0 additions & 10 deletions BuildTools/windows/installer/64bit/GeoDa-win7+.iss
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,6 @@ begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paX64);
end;
function IsIA64: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paIA64);
end;
function IsOtherArch: Boolean;
begin
Result := not IsX64 and not IsIA64;
end;
function VCRedistNeedsInstall: Boolean;
begin
Result := not RegKeyExists(HKLM,'SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\X64');
Expand Down
10 changes: 0 additions & 10 deletions BuildTools/windows/installer/64bit/GeoDa.iss
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,6 @@ begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paX64);
end;
function IsIA64: Boolean;
begin
Result := Is64BitInstallMode and (ProcessorArchitecture = paIA64);
end;
function IsOtherArch: Boolean;
begin
Result := not IsX64 and not IsIA64;
end;
function VCRedistNeedsInstall: Boolean;
begin
Result := not RegKeyExists(HKLM,'SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\X64');
Expand Down

0 comments on commit a34c5e6

Please sign in to comment.