Skip to content

Commit

Permalink
Update and rename gcc-build.yml to gcc-windows-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
franzageek authored Aug 3, 2024
1 parent 786ac8f commit 8328cc2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/gcc-build.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/gcc-windows-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: GCC Windows Build

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
install: >-
mingw-w64-x86_64-gcc
mingw-w64-x86_64-make
- name: Add MSYS2 to PATH
run: echo "::add-path::C:\msys64\mingw64\bin"

- name: Compile
run: |
g++ src/*.cxx -o bin/WinEFIMounter.exe -Os -std=c++23 --static -Wall -Wextra -pedantic

0 comments on commit 8328cc2

Please sign in to comment.