Skip to content

Commit

Permalink
update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Sep 3, 2024
1 parent 9ec9445 commit 16ed88e
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: 'Dependency Review'

on: [pull_request]

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_and_format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0
name: Lint with Ruff
with:
version: 0.4.4
version: 0.6.0
5 changes: 2 additions & 3 deletions .github/workflows/macos_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ jobs:
strategy:
matrix:
include:
- {shared: ON}
- {shared: OFF}
shared: [ON, OFF]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Prepare
run: cmake -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX:PATH=destination -B build
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=3
- name: Install
run: cmake --install build
- name: Prepare test package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
env:
CXX: ${{matrix.cxx}}
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
5 changes: 2 additions & 3 deletions .github/workflows/ubuntu-s390x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
githubToken: ${{ github.token }}
install: |
apt-get update -q -y
apt-get install -y cmake make g++ git
apt-get install -y ninja-build
apt-get install -y cmake make g++ git ninja-build
run: |
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja -B build
rm -r -f dependencies
cmake --build build -j=2
cmake --build build -j=4
ctest --output-on-failure --test-dir build
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-sanitized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
env:
CXX: g++-12
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-undef.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
env:
CXX: g++-12
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
env:
CXX: ${{matrix.cxx}}
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
- name: Run default benchmark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Prepare
run: cmake -G Ninja -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX:PATH=destination -B build
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=4
- name: Install
run: cmake --install build
- name: Prepare test package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_pedantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
CXX: g++-12
CXXFLAGS: -Werror
- name: Build
run: cmake --build build -j=2
run: cmake --build build -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
2 changes: 1 addition & 1 deletion .github/workflows/visual_studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
run: cmake --build build --config "${{matrix.config}}" --verbose
- name: Run tests
working-directory: build
run: ctest -C "${{matrix.config}}" --output-on-failure
run: ctest -C "${{matrix.config}}" --output-on-failure
2 changes: 2 additions & 0 deletions .github/workflows/wpt-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
title: "Update web platform tests"
body: |
This is an automated pull request for updating the WPT.
- [Web Platform Tests](https://github.com/web-platform-tests/wpt/tree/master/url)
- [Commit History](https://github.com/web-platform-tests/wpt/commits/master/url/resources)
cc @anonrig @lemire
team-reviewers: core
delete-branch: true

0 comments on commit 16ed88e

Please sign in to comment.