Skip to content

Commit

Permalink
windows runner added
Browse files Browse the repository at this point in the history
  • Loading branch information
JupiterRider committed Dec 22, 2024
1 parent 635a997 commit 5a4bf73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/run_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
run:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -18,13 +18,14 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
go-version: "1.22.x"
- name: Install libffi
if: runner.os == 'macOS'
run: |
brew update
brew install libffi
- name: Run example
run: go run examples/simple/cos/main_unix.go
run: go run .
working-directory: ./examples/simple/cos/
env:
DYLD_FALLBACK_LIBRARY_PATH: $DYLD_FALLBACK_LIBRARY_PATH:/opt/homebrew/opt/libffi/lib

0 comments on commit 5a4bf73

Please sign in to comment.