From e5e5c6dc47a389241b6c8577918943f298e6d33e Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sun, 26 Jan 2025 23:39:41 +0000 Subject: [PATCH] os matrix --- .github/workflows/codegen.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codegen.yaml b/.github/workflows/codegen.yaml index 6fe07fd..ad11208 100644 --- a/.github/workflows/codegen.yaml +++ b/.github/workflows/codegen.yaml @@ -6,11 +6,11 @@ on: jobs: codegen: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, macos-latest, windows-latest] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] - architecture: ['x64', 'arm64'] steps: - name: Checkout code @@ -19,7 +19,6 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - architecture: ${{ matrix.architecture }} cache: 'pip' # caching pip dependencies - working-directory: codegen run: pip install -r requirements.txt && python codegen.py