Skip to content

Commit

Permalink
(github) try to fix issues in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice committed Nov 29, 2024
1 parent 0925b5c commit 39d66e1
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,36 @@ jobs:
brew install libx11
brew install freetype
brew install fontconfig
ls /usr/X11/include/cairo
- name: Check X11 paths (macOS)
if: runner.os == 'macOS'
run: |
ls -l /usr/X11/include/cairo
ls -l /usr/X11/lib
- name: Install dependencies (Ubuntu)
- name: update package list
if: runner.os == 'Linux'
run: |
sudo apt-get install -y libcairo2-dev
sudo apt-get install -y libx11-dev
sudo apt-get install -y pkgconf
sudo apt-get install -y libfreetype6-dev
sudo apt-get install -y libfontconfig1-dev
run: sudo apt-get update

#- name: Install dependencies (Ubuntu)
#if: runner.os == 'Linux'
#run: |
# sudo apt-get install -y libcairo2-dev
# sudo apt-get install -y libx11-dev
# sudo apt-get install -y pkgconf
# sudo apt-get install -y libfreetype6-dev
# sudo apt-get install -y libfontconfig1-dev

- name: install gfortran compiler
uses: fortran-lang/setup-fortran@v1
env:
DEBIAN_FRONTEND: noninteractive
with:
compiler: gcc

# check out the repository
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: compile giza
run: |
Expand Down

0 comments on commit 39d66e1

Please sign in to comment.