Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 82 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,66 +3,137 @@ on:
branches:
- main
- develop
- tests
pull_request:

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:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.9"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.10"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.11"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.12"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 1
cppstd: "-std=c++98"

- os: ubuntu-20.04
- os: ubuntu-22.04
arch: x86_64
compiler: gcc
version: "9"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 1
cppstd: "-std=c++11"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.9"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.10"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.11"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.12"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 1
cppstd: "-std=c++98"

- os: ubuntu-22.04-arm
arch: aarch64
compiler: gcc
version: "9"
python-version: "3.13"
Expand All @@ -79,9 +150,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
Expand All @@ -92,7 +163,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
Expand Down
Loading