diff --git a/.github/workflows/test_devcontainers.yaml b/.github/workflows/test_devcontainers.yaml index 9075c1a..c35a75c 100644 --- a/.github/workflows/test_devcontainers.yaml +++ b/.github/workflows/test_devcontainers.yaml @@ -7,11 +7,20 @@ on: jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - name: Checkout (GitHub) uses: actions/checkout@v4 + - name: Setup macOS Docker + if: runner.os == 'macos' + run: | + brew install docker docker-buildx + cat ~/.docker/config.json || echo '"cliPluginsExtraDirs": ["/opt/homebrew/lib/docker/cli-plugins"]' >> ~/.docker/config.json + - name: Build and run dev container task uses: devcontainers/ci@v0.3 with: