Skip to content

Commit

Permalink
Update build.yml and add multiple-OS
Browse files Browse the repository at this point in the history
  • Loading branch information
a2nath authored Jan 20, 2025
1 parent e3216d4 commit b126e5f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest] # Test on all platforms

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

- name: Set up CMake
uses: lukka/get-cmake@v3
uses: lukka/get-cmake@latest

- name: Configure CMake
run: cmake -S . -B build # -DSFML_BUILD_STATIC_LIBS=ON

- name: Build project
run: cmake --build . # build --config Release

branding:
icon: 'terminal'
color: 'green'

0 comments on commit b126e5f

Please sign in to comment.