Skip to content

Commit f61f6a1

Browse files
committed
Update for windows build
shift to container design Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
1 parent 230b72b commit f61f6a1

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/make-multi-platform.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,26 @@ jobs:
3939
build-windows-agent:
4040
name: Windows agent (cross-compile)
4141
runs-on: ubuntu-latest
42+
container: fedora:40
4243
steps:
4344
- uses: actions/checkout@v4
4445

45-
- name: Install MinGW and deps
46-
run: |
47-
sudo apt-get update -qq
48-
sudo apt-get install -y build-essential mingw-w64 libssl-dev
49-
50-
- name: Fetch PCRE2 for Windows build
46+
- name: Install build dependencies
5147
run: |
52-
mkdir -p src/external
53-
wget -q https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.32/pcre2-10.32.tar.gz -O - | tar xz -C src/external
48+
dnf -y install \
49+
gcc \
50+
make \
51+
mingw32-gcc \
52+
mingw32-binutils \
53+
mingw32-nsis \
54+
mingw32-pcre2 \
55+
mingw32-zlib \
56+
mingw32-openssl \
57+
perl \
58+
wget \
59+
tar \
60+
perl-Time-HiRes \
61+
which
5462
5563
- name: Build Windows agent
5664
run: |

0 commit comments

Comments
 (0)