Skip to content

Commit 283fde0

Browse files
Merge pull request #159 from theseus-rs/update-ci-configuration
chore: update ci configuration
2 parents c34df91 + 0d01d15 commit 283fde0

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
platform:
27+
- linux-arm
2728
- linux-x64
28-
- macos-arm64
29+
- macos-arm
2930
- macos-x64
3031
- windows-x64
3132

3233
include:
34+
- platform: linux-arm
35+
os: ubuntu-24.04-arm
3336
- platform: linux-x64
34-
os: ubuntu-22.04
35-
- platform: macos-arm64
36-
os: macos-14
37+
os: ubuntu-latest
38+
- platform: macos-arm
39+
os: macos-15
3740
- platform: macos-x64
3841
os: macos-13
3942
- platform: windows-x64
@@ -54,7 +57,7 @@ jobs:
5457
tool: cargo-llvm-cov
5558

5659
- name: Tests
57-
if: ${{ !startsWith(matrix.os, 'ubuntu-') }}
60+
if: ${{ matrix.platform != 'linux-x64' }}
5861
env:
5962
CARGO_TERM_COLOR: always
6063
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -64,7 +67,7 @@ jobs:
6467
cargo test
6568
6669
- name: Tests
67-
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
70+
if: ${{ matrix.platform == 'linux-x64' }}
6871
env:
6972
CARGO_TERM_COLOR: always
7073
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -74,7 +77,7 @@ jobs:
7477
cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
7578
7679
- name: Upload to codecov.io
77-
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
80+
if: ${{ matrix.platform == 'linux-x64' }}
7881
uses: codecov/codecov-action@v4
7982
with:
8083
files: lcov.info
@@ -84,11 +87,11 @@ jobs:
8487
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8588

8689
- name: Install benchmarking tools
87-
if: ${{ github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }}
90+
if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'linux-x64' }}
8891
uses: bencherdev/bencher@main
8992

9093
- name: Run benchmarks
91-
if: ${{ github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }}
94+
if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'linux-x64' }}
9295
env:
9396
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
9497
BENCHER_PROJECT: theseus-rs-postgresql-embedded

postgresql_extensions/tests/portal_corp.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#[cfg(not(all(target_os = "macos", target_arch = "x86_64")))]
1+
#[cfg(not(any(
2+
all(target_os = "linux", target_arch = "aarch64"),
3+
all(target_os = "macos", target_arch = "x86_64")
4+
)))]
25
#[cfg(feature = "portal-corp")]
36
#[tokio::test]
47
async fn test_lifecycle() -> anyhow::Result<()> {

0 commit comments

Comments
 (0)