Update c-cpp.yml

This commit is contained in:
FlexBy420 2024-11-19 18:47:45 +01:00 committed by GitHub
commit 1aaed07cd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,16 +8,24 @@ on:
jobs: jobs:
build: build:
runs-on: windows-latest
runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up MSYS2 (for Unix-like build environment on Windows)
run: |
choco install msys2
C:\tools\msys64\usr\bin\bash.exe --login -i -c "pacman -Syu"
C:\tools\msys64\usr\bin\bash.exe --login -i -c "pacman -S base-devel gcc"
- name: configure - name: configure
run: ./configure run: |
C:\tools\msys64\usr\bin\bash.exe --login -i -c "./configure"
- name: make - name: make
run: make run: |
C:\tools\msys64\usr\bin\bash.exe --login -i -c "make"
- name: make check - name: make check
run: make check run: |
C:\tools\msys64\usr\bin\bash.exe --login -i -c "make check"
- name: make distcheck - name: make distcheck
run: make distcheck run: |
C:\tools\msys64\usr\bin\bash.exe --login -i -c "make distcheck"