Skip to content

Commit

Permalink
check windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Jun 18, 2024
1 parent 38d6372 commit 384f0b7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
sudo apt-get -y update
sudo apt-get -y install tree doxygen autopoint
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Configure
run: |
./autogen.sh
Expand All @@ -44,7 +44,33 @@ jobs:
run: |
make check || (cat test/test-suite.log; false)
- name: Upload Test Results
uses: actions/upload-artifact@v2
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
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# (Re)Generate configure script and all build related files for i18n

autoreconf -W portability -vism --force >/dev/null
autoreconf -W portability -vism --force >/dev/null --verbose

0 comments on commit 384f0b7

Please sign in to comment.