@@ -23,49 +23,49 @@ jobs:
23
23
- id : msrv
24
24
run : echo "::set-output name=msrv::$(echo $MSRV)"
25
25
26
- # linux_foreign:
27
- # strategy:
28
- # matrix:
29
- # include:
30
- # # 64-bit Linux/arm64
31
- # - target: aarch64-unknown-linux-gnu
32
- # # NOTE vmx 2024-07-15: Use at least Rust 1.68.2 for now, so that we can use the sparse
33
- # # index. Without this, the build times out. Once the MSRV is >= 1.68.2, we don't need
34
- # # to special case anymore and can use the MSRV instead.
35
- # toolchain: 1.68.2
36
- # arch: aarch64
37
- #
38
- # runs-on: ubuntu-22.04
39
- # steps:
40
- # - uses: actions/checkout@v4
41
- # - uses: uraimo/run-on-arch-action@v2
42
- # name: Run tests
43
- # id: runtests
44
- # with:
45
- # arch: aarch64
46
- # distro: ubuntu22.04
47
- #
48
- # # Not required, but speeds up builds by storing container images in
49
- # # a GitHub package registry.
50
- # githubToken: ${{ github.token }}
51
- #
52
- # env: | # YAML, but pipe character is necessary
53
- # CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
54
- #
55
- # install: |
56
- # apt-get update -q -y
57
- # apt-get install -q -y ocl-icd-opencl-dev curl build-essential
58
- # curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
59
- # source $HOME/.cargo/env
60
- #
61
- # run: |
62
- # echo "vmx: one"
63
- # $HOME/.cargo/bin/rustup override set ${{ matrix.toolchain }}
64
- # echo "vmx: two"
65
- # $HOME/.cargo/bin/cargo test --release --target ${{ matrix.target }}
66
- # echo "vmx: three"
67
- # $HOME/.cargo/bin/cargo test --release --features portable --target ${{ matrix.target }}
68
- # echo "vmx: four"
26
+ linux_foreign :
27
+ strategy :
28
+ matrix :
29
+ include :
30
+ # 64-bit Linux/arm64
31
+ - target : aarch64-unknown-linux-gnu
32
+ # NOTE vmx 2024-07-15: Use at least Rust 1.68.2 for now, so that we can use the sparse
33
+ # index. Without this, the build times out. Once the MSRV is >= 1.68.2, we don't need
34
+ # to special case anymore and can use the MSRV instead.
35
+ toolchain : 1.68.2
36
+ arch : aarch64
37
+
38
+ runs-on : ubuntu-22.04
39
+ steps :
40
+ - uses : actions/checkout@v4
41
+ - uses : uraimo/run-on-arch-action@v2
42
+ name : Run tests
43
+ id : runtests
44
+ with :
45
+ arch : aarch64
46
+ distro : ubuntu22.04
47
+
48
+ # Not required, but speeds up builds by storing container images in
49
+ # a GitHub package registry.
50
+ githubToken : ${{ github.token }}
51
+
52
+ env : | # YAML, but pipe character is necessary
53
+ CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
54
+
55
+ install : |
56
+ apt-get update -q -y
57
+ apt-get install -q -y ocl-icd-opencl-dev curl build-essential
58
+ curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
59
+ source $HOME/.cargo/env
60
+
61
+ run : |
62
+ echo "vmx: one"
63
+ $HOME/.cargo/bin/rustup override set ${{ matrix.toolchain }}
64
+ echo "vmx: two"
65
+ $HOME/.cargo/bin/cargo test --release --target ${{ matrix.target }}
66
+ echo "vmx: three"
67
+ $HOME/.cargo/bin/cargo test --release --features portable --target ${{ matrix.target }}
68
+ echo "vmx: four"
69
69
70
70
# Linux tests
71
71
linux :
0 commit comments