Skip to content

Commit

Permalink
Upgrade CI build platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseefeld committed May 14, 2024
1 parent efdcc22 commit 014ed00
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
jobs:
build:

runs-on: macOS-latest
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: prerequisites
Expand All @@ -31,6 +31,7 @@ jobs:
- name: test
run: |
export PYTHONPATH=`pwd`/src
export PATH=`brew --prefix llvm`/bin:$PATH
python -m faber.cli --info=tools cxx
pytest --cov=./src --compiler=native -vs
- name: coverage
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', 'pypy-3.6', 'pypy-3.7']
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: prerequisites
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: prerequisites
Expand Down
4 changes: 2 additions & 2 deletions src/faber/tools/clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

# known architectures for each machine type
marchs = dict(x86_64=['x86_64', 'x86'],
arm=['eabi'],
arm64=['arm64'],
w64=['w64', 'w32'])

# compiler flags per architecture
arch_flags = dict(x86_64=['-m64'],
x86=['-m32'],
eabi=[],
arm64=[],
w64=['-m64'],
w32=['-m32'])

Expand Down
4 changes: 2 additions & 2 deletions src/faber/tools/gcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

# known architectures for each machine type
marchs = dict(x86_64=['x86_64', 'x86'],
arm=['eabi'],
arm64=['arm64'],
w64=['w64', 'w32'])

# compiler flags per architecture
arch_flags = dict(x86_64=['-m64'],
x86=['-m32'],
eabi=[],
arm64=[],
w64=['-m64'],
w32=['-m32'])

Expand Down

0 comments on commit 014ed00

Please sign in to comment.