From 5a4bf7332c540f61a9503a11e4d3873a0a8d899b Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Sun, 22 Dec 2024 18:39:00 +0100 Subject: [PATCH] windows runner added --- .github/workflows/run_examples.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_examples.yml b/.github/workflows/run_examples.yml index 7c6dc2c..1d599a7 100644 --- a/.github/workflows/run_examples.yml +++ b/.github/workflows/run_examples.yml @@ -9,7 +9,7 @@ jobs: run: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -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