Fixing CI

Fixed x86_64-apple-darwin freezing.
Bump all docker to Ubuntu-24.04 (except for emulated and armv7)
This commit is contained in:
sayantn
2024-06-29 16:28:48 +05:30
committed by Amanieu d'Antras
parent 818df2f7d0
commit d7ea407a28
19 changed files with 19 additions and 35 deletions
+3 -13
View File
@@ -146,7 +146,7 @@ jobs:
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-11
os: macos-13
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: i686-pc-windows-msvc
@@ -175,21 +175,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust (rustup)
- name: Install Rust
run: |
rustup update nightly --no-self-update
rustup default nightly
if: matrix.os != 'macos-latest'
- name: Install Rust (macos)
run: |
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
rustup update nightly --no-self-update
rustup default nightly
if: matrix.os == 'macos-latest'
- run: |
rustup default nightly
rustup target add ${{ matrix.target }}
- run: rustup target add ${{ matrix.target }}
if: "!endsWith(matrix.target, 'emulated')"
- name: Setup (aarch64-apple-darwin)
run: |
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
g++ \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc-multilib \
libc6-dev \
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc-multilib \
libc6-dev \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
libc6-dev \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:23.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libc6-dev qemu-user ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
curl ca-certificates \
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && apt-get install -y --no-install-recommends \
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
libc6-dev \
@@ -5200,9 +5200,6 @@ unsafe fn test_mm256_srlv_epi64() {
}
#[simd_test(enable = "avx2")]
// Miri cannot support this until it is clear how it fits in the Rust memory model
// (non-temporal store)
#[cfg_attr(miri, ignore)]
unsafe fn test_mm256_stream_load_si256() {
let a = _mm256_set_epi64x(5, 6, 7, 8);
let r = _mm256_stream_load_si256(core::ptr::addr_of!(a) as *const _);
@@ -1958,9 +1958,6 @@ unsafe fn test_mm_test_mix_ones_zeros() {
}
#[simd_test(enable = "sse4.1")]
// Miri cannot support this until it is clear how it fits in the Rust memory model
// (non-temporal store)
#[cfg_attr(miri, ignore)]
unsafe fn test_mm_stream_load_si128() {
let a = _mm_set_epi64x(5, 6);
let r = _mm_stream_load_si128(core::ptr::addr_of!(a) as *const _);