From b75f5eab25bcbdae1048d0480b3c52d14646c7f6 Mon Sep 17 00:00:00 2001 From: Johnny Date: Thu, 13 Feb 2025 22:50:28 +0100 Subject: [PATCH 1/3] Update tests.yml --- .github/workflows/tests.yml | 76 +++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index da5f230e..eedac78a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ on: jobs: tests: - name: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.version }}-python-${{ matrix.python-version }}-${{ matrix.castxml-epic }} + name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.compiler }}-${{ matrix.version }}-python-${{ matrix.python-version }}-${{ matrix.castxml-epic }} runs-on: ${{ matrix.os }} strategy: @@ -15,6 +15,7 @@ jobs: matrix: include: - os: ubuntu-20.04 + arch: x86_64 compiler: gcc version: "9" python-version: "3.9" @@ -23,6 +24,7 @@ jobs: cppstd: "-std=c++98" - os: ubuntu-20.04 + arch: x86_64 compiler: gcc version: "9" python-version: "3.10" @@ -31,6 +33,7 @@ jobs: cppstd: "-std=c++98" - os: ubuntu-20.04 + arch: x86_64 compiler: gcc version: "9" python-version: "3.11" @@ -39,6 +42,7 @@ jobs: cppstd: "-std=c++98" - os: ubuntu-20.04 + arch: x86_64 compiler: gcc version: "9" python-version: "3.12" @@ -47,6 +51,7 @@ jobs: cppstd: "-std=c++98" - os: ubuntu-20.04 + arch: x86_64 compiler: gcc version: "9" python-version: "3.13" @@ -55,6 +60,7 @@ jobs: cppstd: "-std=c++98" - os: ubuntu-20.04 + arch: x86_64 compiler: gcc version: "9" python-version: "3.13" @@ -63,6 +69,70 @@ jobs: cppstd: "-std=c++98" - os: ubuntu-20.04 + arch: x86_64 + compiler: gcc + version: "9" + python-version: "3.13" + castxml: "castxml" + castxml-epic: 1 + cppstd: "-std=c++11" + + - os: ubuntu-20.04-arm + arch: aarch64 + compiler: gcc + version: "9" + python-version: "3.9" + castxml: "castxml" + castxml-epic: 0 + cppstd: "-std=c++98" + + - os: ubuntu-20.04-arm + arch: aarch64 + compiler: gcc + version: "9" + python-version: "3.10" + castxml: "castxml" + castxml-epic: 0 + cppstd: "-std=c++98" + + - os: ubuntu-20.04-arm + arch: aarch64 + compiler: gcc + version: "9" + python-version: "3.11" + castxml: "castxml" + castxml-epic: 0 + cppstd: "-std=c++98" + + - os: ubuntu-20.04-arm + arch: aarch64 + compiler: gcc + version: "9" + python-version: "3.12" + castxml: "castxml" + castxml-epic: 0 + cppstd: "-std=c++98" + + - os: ubuntu-20.04-arm + arch: aarch64 + compiler: gcc + version: "9" + python-version: "3.13" + castxml: "castxml" + castxml-epic: 0 + cppstd: "-std=c++98" + + - os: ubuntu-20.04-arm + arch: aarch64 + compiler: gcc + version: "9" + python-version: "3.13" + castxml: "castxml" + castxml-epic: 1 + cppstd: "-std=c++98" + + - os: ubuntu-20.04-arm + arch: aarch64 compiler: gcc version: "9" python-version: "3.13" @@ -79,9 +149,9 @@ jobs: cppstd: "-std=c++98" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Display Python version From c965e3e236d4359ef29690e8973bd8444917d23c Mon Sep 17 00:00:00 2001 From: Johnny Date: Fri, 14 Feb 2025 12:30:28 +0100 Subject: [PATCH 2/3] upgrade ubuntu 22.04 --- .github/workflows/tests.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eedac78a..cb53fb8a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -23,7 +23,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -32,7 +32,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -41,7 +41,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -50,7 +50,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -59,7 +59,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -68,7 +68,7 @@ jobs: castxml-epic: 1 cppstd: "-std=c++98" - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: x86_64 compiler: gcc version: "9" @@ -77,7 +77,7 @@ jobs: castxml-epic: 1 cppstd: "-std=c++11" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -86,7 +86,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -95,7 +95,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -104,7 +104,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -113,7 +113,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -122,7 +122,7 @@ jobs: castxml-epic: 0 cppstd: "-std=c++98" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -131,7 +131,7 @@ jobs: castxml-epic: 1 cppstd: "-std=c++98" - - os: ubuntu-20.04-arm + - os: ubuntu-22.04-arm arch: aarch64 compiler: gcc version: "9" @@ -162,7 +162,7 @@ jobs: - name: Run pycodestyle run: pycodestyle . --exclude=docs - name: Setup castxml for Linux - if: matrix.os == 'ubuntu-20.04' && matrix.castxml == 'castxml' + if: matrix.os == 'ubuntu-22.04' && matrix.castxml == 'castxml' run: | wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/bdbb67a10c5f8d1b738cd19cb074f409d4803e8077cb8c1072ef4eaf738fa871a73643f9c8282d58cae28d188df842c82ad6620b6d590b0396a0172a27438dce/download | tar zxf - -C ~/ - name: Setup castxml for Mac From 5ce72dddfa310b8926659a594998ab04b7fbafa1 Mon Sep 17 00:00:00 2001 From: Johnny Date: Fri, 14 Feb 2025 18:03:38 +0100 Subject: [PATCH 3/3] Update tests.yml --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb53fb8a..4071f476 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,6 +3,7 @@ on: branches: - main - develop + - tests pull_request: jobs: