Skip to content

Commit

Permalink
add trace in the cmake config and install X11 in ubuntu
Browse files Browse the repository at this point in the history
disable windows for now, it doesn't work
  • Loading branch information
a2nath authored Jan 20, 2025
1 parent 621df93 commit 23c3327
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest] # Test on all platforms
os: [ubuntu-latest]] #, windows-latest] # Test on all platforms

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


- name: Install X11 Dependencies
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxrandr-dev libxcursor-dev libxi-dev

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

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

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

0 comments on commit 23c3327

Please sign in to comment.