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