Skip to content

Commit

Permalink
Testing XII
Browse files Browse the repository at this point in the history
Hmm.
  • Loading branch information
Mileter authored Jun 27, 2024
1 parent 7014b38 commit 25927b3
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,36 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Release]
cpp_compiler: [g++, clang++, cl]
include:
- os: windows-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: gcc
- os: ubuntu-latest
cpp_compiler: g++
c_compiler: gcc
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
c_compiler: clang
exclude:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: windows-latest
c_compiler: clang
cpp_compiler: clang++
- os: ubuntu-latest
cpp_compiler: cl

steps:
- uses: actions/checkout@v4

- name: Set up MinGW on Windows
if: matrix.os == 'windows-latest' && matrix.c_compiler == 'gcc'
if: matrix.os == 'windows-latest' && matrix.cpp_compiler == 'g++'
uses: egor-tensin/setup-mingw@v1
with:
architecture: x86_64

- name: Add MinGW to PATH on Windows
if: matrix.os == 'windows-latest' && matrix.c_compiler == 'gcc'
if: matrix.os == 'windows-latest' && matrix.cpp_compiler == 'g++'
run: echo "C:\\mingw64\\bin" | Out-File -Append -FilePath $env:GITHUB_PATH

- name: Install dependencies on Ubuntu
Expand Down Expand Up @@ -71,5 +74,5 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.os }}-${{ matrix.c_compiler }}
name: build-${{ matrix.os }}-${{ matrix.cpp_compiler }}
path: ${{ steps.strings.outputs.build-output-dir }}

0 comments on commit 25927b3

Please sign in to comment.