Skip to content

Commit

Permalink
Upgrade CI platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseefeld committed Sep 19, 2024
1 parent 95e5301 commit 3ea0cb8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6]
python-version: [3.8.10]
cxx: [clang++]
std: [c++98, c++11, c++14] # TODO: c++17 is failing !
std: [c++11, c++14] # TODO: c++17 is failing !

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: setup prerequisites
Expand All @@ -28,16 +28,19 @@ jobs:
run: |
python --version
${{ matrix.cxx }} --version
brew info boost
faber -v
sed -e "s/\$PYTHON/python/g" .ci/faber > ~/.faber
faber \
--with-boost-include=/opt/homebrew/Cellar/boost/1.86.0/include \
--builddir=build \
cxx.name=${{ matrix.cxx }} \
cxxflags=-std=${{ matrix.std }} \
-j`sysctl -n hw.ncpu`
- name: test
run: |
faber \
--with-boost-include=/opt/homebrew/Cellar/boost/1.86.0/include \
--builddir=build\
cxx.name=${{ matrix.cxx }} \
cxxflags=-std=${{ matrix.std }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
image: ${{ matrix.docker-img }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
python-version: [3.7]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: microsoft/setup-msbuild@v1.1

This comment has been minimized.

Copy link
@chcg

chcg Oct 1, 2024

@stefanseefeld
Also microsoft/setup-msbuild is outdated and microsoft/setup-msbuild@v2 could be used to avoid that, see https://github.com/boostorg/python/actions/runs/10982919136

The following actions use a deprecated Node.js version and will be forced to run on node20: microsoft/setup-msbuild@v1.1, lukka/run-vcpkg@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

similar for lukka/run-vcpkg

See also
https://docs.github.com/en/code-security/dependabot/ecosystems-supported-by-dependabot/supported-ecosystems-and-repositories#github-actions
to get automatic PRs for GH actions on available updates.

Expand Down

0 comments on commit 3ea0cb8

Please sign in to comment.