@@ -15,32 +15,37 @@ jobs:
15
15
- pyo3
16
16
os :
17
17
- id : ubuntu-latest
18
- graalpy_platform : linux-amd64
18
+ platform : linux
19
+ arch : amd64
19
20
- id : macos-latest
20
- graalpy_platform : darwin-aarch64
21
+ platform : darwin
22
+ arch : aarch64
21
23
22
24
runs-on : ${{ matrix.os.id }}
23
25
24
26
steps :
25
- - name : Install CMake
26
- if : ${{ matrix.name == 'pybind11' }}
27
- uses : lukka/get-cmake@latest
28
- with :
29
- cmakeVersion : 3.30.8
30
- ninjaVersion : 1.12.1
27
+ - name : Install CMake (Linux)
28
+ if : ${{ matrix.os.platform == 'linux' && matrix.name == 'pybind11' }}
29
+ run : |
30
+ sudo apt-get update
31
+ sudo apt-get install -y cmake
32
+
33
+ - name : Install CMake (Darwin)
34
+ if : ${{ matrix.os.platform == 'darwin' && matrix.name == 'pybind11' }}
35
+ run : brew install cmake
31
36
32
37
- name : Install Rust toolchain
33
38
if : ${{ matrix.name == 'pyo3' }}
34
- uses : actions-rs/toolchain@v1
35
- with :
36
- toolchain : stable
39
+ run : |
40
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
41
+ echo "${HOME}/.cargo/bin" >> $GITHUB_PATH
37
42
38
43
- name : Checkout main repository
39
44
uses : actions/checkout@v4
40
45
41
46
- name : Get GraalPy EA build
42
47
run : |
43
- tarball="$(curl -sfL https://raw.githubusercontent.com/graalvm/graal-languages-ea-builds/refs/heads/main/graalpy/versions/latest-native-${{ matrix.os.graalpy_platform }}.url)"
48
+ tarball="$(curl -sfL https://raw.githubusercontent.com/graalvm/graal-languages-ea-builds/refs/heads/main/graalpy/versions/latest-native-${{ matrix.os.platform }}-${{ matrix.os.arch }}.url)"
44
49
curl -sfL "$tarball" | tar xz
45
50
46
51
- name : Run downstream tests for ${{ matrix.name }}
0 commit comments