Skip to content

Update main.yml

Update main.yml #10

Workflow file for this run

name: Build MinGW32 MSVCRT (Arch)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:base-devel
steps:
- name: Initialize pacman keyring
run: |
pacman-key --init
pacman-key --populate archlinux
- name: Install dependencies
run: |
pacman -Sy --noconfirm
pacman -S --noconfirm git wget tar bison flex texinfo gcc
- name: Clone repository
uses: actions/checkout@v4
- name: Run the build script
run: |
chmod +x compile-mingw32.sh
./compile-mingw32.sh
- name: Verify installed binaries
run: |
/usr/local/bin/i686-w64-mingw32-gcc --version