Skip to content

Commit

Permalink
Add packages
Browse files Browse the repository at this point in the history
  • Loading branch information
blamacaz committed Jan 14, 2025
1 parent f2bb3df commit d3d103a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
mkdir -p ${{ github.workspace }}/vcpkg/bincache
fi
shell: bash

- name: Install packages
if: runner.os == 'Linux'
run: sudo apt-get install -y libxi-dev libxtst-dev bison gperf libgles2-mesa-dev libxrandr-dev libxcursor-dev libxdamage-dev libxinerama-dev nasm autoconf automake libtool pkg-config

- if: runner.os == 'macOS'
run: brew install nasm

- uses: lukka/get-cmake@latest

Expand All @@ -73,13 +80,6 @@ jobs:
# Ensure that the developer command promt is present on Windows runners
- uses: ilammy/msvc-dev-cmd@v1

- name: Install packages
if: runner.os == 'Linux'
run: sudo apt-get install -y libxi-dev libxtst-dev bison gperf libgles2-mesa-dev libxrandr-dev libxcursor-dev libxdamage-dev libxinerama-dev nasm

- if: runner.os == 'macOS'
run: brew install nasm

- name: Restore from cache the dependencies and generate project files
run: |
cmake -DBUILD_EXAMPLE_APP=ON -DBUILD_TESTS=ON --preset ${{ env.CURRENT_OS }}-release
Expand Down

0 comments on commit d3d103a

Please sign in to comment.