Skip to content

check windows

check windows #2

Workflow file for this run

name: Bob the Builder
# Run on all branches, including all pull requests, except the 'dev'
# branch since that's where we run Coverity Scan (limited tokens/day)
on:
push:
branches:
- '**'
- '!dev'
pull_request:
branches:
- '**'
jobs:
build:
# Verify we can build on latest Ubuntu with both gcc and clang
name: ${{ matrix.compiler }}
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
fail-fast: false
env:
MAKEFLAGS: -j3
CC: ${{ matrix.compiler }}
steps:
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install tree doxygen autopoint
- uses: actions/checkout@v4
- name: Configure
run: |
./autogen.sh
./configure --prefix= --disable-silent-rules
- name: Build
run: |
make
- name: Install to ~/tmp and Inspect
run: |
DESTDIR=~/tmp make install-strip
tree ~/tmp
- name: Run Unit Tests
run: |
make check || (cat test/test-suite.log; false)
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: libconfuse-test-${{ matrix.compiler }}
path: test/*
build-windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Install MSYS2 packages
uses: msys2/setup-msys2@v2
with:
msystem: MINGW32
install: |
base-devel git make texinfo flex bison patch binutils mingw-w64-i686-gcc mpc-devel tar
mingw-w64-x86_64-autotools mingw-w64-x86_64-gettext mingw-w64-x86_64-gettext-tools mingw-w64-x86_64-libtool gettext-devel
mingw-w64-i686-cmake mingw-w64-i686-make mingw-w64-i686-libogg
update: true
- uses: actions/checkout@v4
- name: Configure
run: |
./autogen.sh
# ./configure --prefix= --disable-silent-rules
# - name: Build
# run: |
# make