Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Navyum authored Jan 6, 2025
1 parent 34af81e commit 28ff235
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-latest]
arch: [amd64, 386]

steps:
Expand All @@ -26,6 +26,20 @@ jobs:
with:
go-version: 1.21.4

- name: Install Homebrew
if: matrix.os == 'macos-latest'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- name: Install Chocolatey
if: matrix.os == 'windows-latest'
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force; `
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- name: Install GLFW
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libglfw3-dev
Expand Down

0 comments on commit 28ff235

Please sign in to comment.