Skip to content

Commit 7eee1ca

Browse files
authored
Update testing.yml
put back in old not gonna work ubuntu 20.04 qt4 and openfoam build from cache stuff, to show in next commit how they will be altered for ubuntu 22.04. also trying to force to build without cache
1 parent b6a4bc5 commit 7eee1ca

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/testing.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
restore-keys: ${{ runner.os }}-windDep
2828

2929
- name: build dependencies -- no cache
30-
if: steps.cacheDep.outputs.cache-hit != 'true'
30+
#if: steps.cacheDep.outputs.cache-hit != 'true'
3131
run: |
3232
sudo -E apt-get update -y
3333
sudo -E apt-get upgrade -y
@@ -37,7 +37,8 @@ jobs:
3737
cd ${{github.workspace}}
3838
3939
- name: build dependencies -- with cache
40-
if: steps.cacheDep.outputs.cache-hit == 'true'
40+
#if: steps.cacheDep.outputs.cache-hit == 'true'
41+
if: steps.cacheDep.outputs.cache-hit != 'true'
4142
run: |
4243
# install standard dependencies
4344
sudo -E apt-get update -y
@@ -60,6 +61,19 @@ jobs:
6061
sudo make install
6162
cd ${{github.workspace}}/scripts/gdal-3.4.1
6263
sudo make install
64+
# install qt
65+
sudo add-apt-repository ppa:rock-core/qt4
66+
sudo apt-get update
67+
sudo -E apt-get install -y libqt4-dev libqtwebkit-dev
68+
# Use OpenFOAM 8
69+
# add the dl.openfoam.org repo and install OpenFOAM 8
70+
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
71+
sudo add-apt-repository http://dl.openfoam.org/ubuntu
72+
sudo apt-get update
73+
sudo -E apt-get install -y openfoam8
74+
echo "source /opt/openfoam8/etc/bashrc" >> ~/.bashrc
75+
# return to start directory
76+
cd ${{github.workspace}}
6377
6478
- name: make build directory
6579
run: mkdir build

0 commit comments

Comments
 (0)