Add gcc problem matcher to linux build #27
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
name: Wcalc CI - Linux | |
on: | |
push: | |
branches: | |
- develop | |
- 'dev-*' | |
- 'ci-*' | |
paths-ignore: | |
- .github/workflows/ci-macos.yml | |
pull_request: | |
branches: [ develop ] | |
paths-ignore: | |
- .github/workflows/ci-macos.yml | |
# Allows you to run this workflow manually from the Actions tab: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: x64 | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out repository under $GITHUB_WORKSPACE: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: sudo apt-get install -y | |
guile-2.2-dev | |
autoconf | |
automake | |
autopoint | |
bison | |
imagemagick | |
libgettextpo-dev | |
libgtk2.0-dev | |
netpbm | |
pstoedit | |
tgif | |
w3m | |
xauth | |
xsltproc | |
xvfb | |
- name: Install tgif dependencies | |
run: sudo apt-get install -y | |
libxmu-dev | |
xfonts-75dpi | |
gsfonts-x11 | |
- name: Install pstoedit dependencies | |
run: sudo apt-get install -y | |
ghostscript | |
- name: xvfb-run | |
run: echo "XVFB_RUN=xvfb-run --auto-servernum" >> $GITHUB_ENV | |
- name: Enable problem matcher | |
uses: ammaraskar/gcc-problem-matcher@master | |
- name: Build & Checks | |
uses: ./.github/workflows/common | |
build-arm: | |
name: ARM64 | |
runs-on: ubuntu-24.04-arm | |
steps: | |
# Checks-out repository under $GITHUB_WORKSPACE: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: sudo apt-get install -y | |
guile-2.2-dev | |
autoconf | |
automake | |
autopoint | |
bison | |
imagemagick | |
libgettextpo-dev | |
libgtk2.0-dev | |
netpbm | |
pstoedit | |
tgif | |
w3m | |
xauth | |
xsltproc | |
xvfb | |
- name: Install tgif dependencies | |
run: sudo apt-get install -y | |
libxmu-dev | |
xfonts-75dpi | |
gsfonts-x11 | |
- name: Install pstoedit dependencies | |
run: sudo apt-get install -y | |
ghostscript | |
- name: xvfb-run | |
run: echo "XVFB_RUN=xvfb-run --auto-servernum" >> $GITHUB_ENV | |
- name: Build & Checks | |
uses: ./.github/workflows/common | |