[Fix] Connect to Data Source window does not scale properly (Ubuntu) #221
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Ubuntu builds | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push only for the master branch | |
push: | |
branches: [master] | |
paths-ignore: | |
- '**/README.md' | |
pull_request: | |
branches: [master] | |
paths-ignore: | |
- '**/README.md' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
ubuntu_build: | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.distro }} | |
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') }} | |
strategy: | |
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' | |
pre: 'focal' | |
env: | |
platform: ${{ matrix.distro }} | |
GEODA_VER: '1.22.0' | |
TARGET_OS: ${{ matrix.pre }} | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: Prepare on ${{ matrix.distro }} | |
run: | | |
chmod +x BuildTools/ubuntu/create_deps.sh | |
chmod +x BuildTools/ubuntu/install.sh | |
echo ${{ env.TARGET_OS }} | |
- uses: actions/cache@v3 | |
id: cache | |
with: | |
path: | | |
BuildTools/ubuntu/libraries | |
BuildTools/ubuntu/temp | |
key: ${{ runner.os }}-${{ env.TARGET_OS }}-deps-cache-${{ hashFiles('BuildTools/ubuntu/create_deps.sh') }} | |
# Create Deps | |
- if: steps.cache.outputs.cache-hit != 'true' | |
name: Create Dependencies | |
run: | | |
export WORK_DIR=$PWD | |
export OS=${{ env.TARGET_OS }} | |
export VER=${{ env.GEODA_VER }} | |
export APT="sudo apt-get" | |
cd BuildTools/ubuntu | |
./create_deps.sh | |
# Build GeoDa | |
- name: Build GeoDa | |
run: | | |
mkdir -p o | |
chmod 755 o | |
export WORK_DIR=$PWD | |
export OS=${{ env.TARGET_OS }} | |
export VER=${{ env.GEODA_VER }} | |
export APT="sudo apt-get" | |
cd BuildTools/ubuntu | |
./install.sh | |
# Upload artifact | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: GeoDa-${{ env.GEODA_VER }}-${{ env.TARGET_OS }} | |
path: ${{ github.workspace }}/BuildTools/ubuntu/geoda_${{ env.GEODA_VER }}-1${{ env.TARGET_OS }}1_amd64.deb |