Update main.yml #10
This file contains hidden or 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: 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 |