Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,28 @@ jobs:
- name: linux
os: ubuntu-latest
shell: bash

- name: macos
os: macos-latest
shell: bash
- name: windows

- name: windows-x64
os: windows-latest
shell: msys2 {0}
msystem: CLANG64
msys_packages: >-
mingw-w64-clang-x86_64-toolchain
mingw-w64-clang-x86_64-cmake
mingw-w64-clang-x86_64-ninja

- name: windows-arm64
os: windows-11-arm
shell: msys2 {0}
msystem: CLANGARM64
msys_packages: >-
mingw-w64-clang-aarch64-toolchain
mingw-w64-clang-aarch64-cmake
mingw-w64-clang-aarch64-ninja

name: build (${{ matrix.name }})
runs-on: ${{ matrix.os }}
Expand All @@ -43,12 +59,9 @@ jobs:
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
msystem: CLANG64
msystem: ${{ matrix.msystem }}
update: true
install: >-
mingw-w64-clang-x86_64-toolchain
mingw-w64-clang-x86_64-cmake
mingw-w64-clang-x86_64-ninja
install: ${{ matrix.msys_packages }}

- name: configure
run: |
Expand All @@ -62,6 +75,6 @@ jobs:
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: serialosc-windows
name: serialosc-${{ matrix.name }}
path: build/bin/
if-no-files-found: warn