Skip to content

Commit

Permalink
Install windows dependencies in action
Browse files Browse the repository at this point in the history
  • Loading branch information
AristurtleDev committed Apr 28, 2024
1 parent d6067bb commit 2370a7f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ jobs:

- name: Install Mac Dependencies
if: runner.os == 'macOS'
run: brew install nasm
run: brew install nasm autoconf automake libtool

- name: Install Linux Dependencies
if: runner.os == 'Linux'
run: sudo apt-get install nasm
run: sudo apt-get install nasm autoconf automake libtool

- name: Install Windows Dependencies
if: runner.os == 'Windows'
shell: bash
run: |
C:\\msys64\\usr\\bin\\bash.exe -c 'export PATH="/usr/bin:/mingw64/bin:$PATH"; pacman -S --needed --noconfirm mingw-w64-x86_64-toolchain mingw-w64-x86_64-mpg123 mingw-w64-x86_64-gtk2 mingw-w64-x86_64-libogg mingw-w64-x86_64-libvorbis mingw-w64-x86_64-lame mingw-w64-x86_64-pkg-config nasm yasm make base-devel autoconf automake libtool'
- name: Clone repository
uses: actions/checkout@v4
Expand All @@ -33,6 +39,7 @@ jobs:
env:
ACTIONS_RUNTIME_TOKEN: ${{ env.ACTIONS_RUNTIME_TOKEN }}
ACTIONS_RUNTIME_URL: "${{ env.ACTIONS_RUNTIME_URL }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

deploy:
name: deploy
Expand Down

0 comments on commit 2370a7f

Please sign in to comment.