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
24 changes: 10 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ jobs:
matrix:
toolchain:
- name: Linux Clang
os: ubuntu-24.04
os: ubuntu-latest
cmake_args: -DCMAKE_C_COMPILER=clang

- name: Linux GCC
os: ubuntu-24.04
os: ubuntu-latest

- name: macOS ARM
os: macos-14
os: macos-26

- name: macOS Intel
os: macos-13
os: macos-26-intel

- name: MinGW
os: windows-2022
os: windows-latest
cmake_args: -G "MinGW Makefiles"

- name: MSVC 32-bit
os: windows-2022
os: windows-latest
cmake_args: -A Win32

- name: MSVC 64-bit
os: windows-2022
os: windows-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Linux Dependencies
if: runner.os == 'Linux'
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Install Windows Dependencies
if: runner.os == 'Windows'
run: |
LIBUSB_VERSION=1.0.28
LIBUSB_VERSION=1.0.30
LIBUSB_PACKAGE=libusb-$LIBUSB_VERSION.7z
aria2c -q https://github.com/libusb/libusb/releases/download/v$LIBUSB_VERSION/$LIBUSB_PACKAGE
7z x $LIBUSB_PACKAGE -olibusb
Expand All @@ -63,14 +63,10 @@ jobs:
run: |
cmake -B build ${{ matrix.toolchain.cmake_args }} .

- name: Get Number of CPU Cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

- name: Build
run: |
export MAKEFLAGS=--keep-going
cmake --build build --config Release --parallel ${{ steps.cpu-cores.outputs.count }}
cmake --build build --config Release

- name: Install Linux/macOS
if: runner.os != 'Windows'
Expand Down
Loading