Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various CI fixes #1235

Merged
merged 6 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
i686-gcc11-O2:
resource_class: large
docker:
- image: debian:testing-slim
- image: debian:stable-slim
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD
Expand Down
59 changes: 9 additions & 50 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ jobs:
run: |
git clone https://github.com/emscripten-core/emsdk.git /opt/emsdk
cd /opt/emsdk
./emsdk install tot
./emsdk activate tot
./emsdk install b76bd83583cc5fd07b3a3d5b4857874c1d81a002
./emsdk activate b76bd83583cc5fd07b3a3d5b4857874c1d81a002
source emsdk_env.sh
- name: Install v8
run: |
Expand Down Expand Up @@ -449,25 +449,19 @@ jobs:
cross: riscv64+rvv_vlen128_elen64
arch_gnu: riscv64
arch_deb: riscv64
distro: ubuntu-22.04
distro: ubuntu-24.04
- version: 17 # not yet passing with clang 18.1.3
cross: riscv64+rvv_vlen256_elen64
arch_gnu: riscv64
arch_deb: riscv64
distro: ubuntu-22.04
distro: ubuntu-24.04
- version: 17 # not yet passing with clang 18.1.3
cross: riscv64+rvv_vlen512_elen64
arch_gnu: riscv64
arch_deb: riscv64
distro: ubuntu-22.04
distro: ubuntu-24.04
runs-on: ${{ matrix.distro }}
container:
image: amd64/ubuntu:23.10
steps:
- run: apt-get update
- name: Install git
run: |
apt-get install -y --no-install-recommends git ca-certificates
- uses: actions/checkout@v4
with:
submodules: recursive
Expand All @@ -477,8 +471,8 @@ jobs:
run: |
#add-apt-repository ppa:savoury1/virtualisation
#add-apt-repository ppa:savoury1/display
apt-get update -y
apt-get install -y --no-install-recommends ninja-build pkg-config \
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends ninja-build pkg-config \
qemu-user-static clang-${{ matrix.version }} ninja-build binfmt-support \
libc6-${{ matrix.arch_deb }}-cross meson llvm-${{ matrix.version }} \
libstdc++-12-dev-${{ matrix.arch_deb }}-cross \
Expand Down Expand Up @@ -753,17 +747,11 @@ jobs:
fail-fast: false
matrix:
# https://www.jessesquires.com/blog/2020/01/06/selecting-an-xcode-version-on-github-ci/
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#xcode
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md#xcode
# https://trac.macports.org/wiki/XcodeVersionInfo
include:
- xcode: "13.1"
os: macos-12
arch_flags: -Wno-poison-system-directories # due to meson test
- xcode: "13.3.1"
os: macos-12
arch_flags: -Wno-poison-system-directories # due to meson test
- xcode: "14.2"
os: macos-13
arch_flags: -Wno-poison-system-directories # due to meson test
Expand All @@ -779,11 +767,6 @@ jobs:
- xcode: "15.2"
os: macos-13
arch_flags: -Wno-poison-system-directories # due to meson test
- xcode: "14.3.1"
os: macos-14 # arm64
arch_flags: -march=native -Wno-poison-system-directories
# "-Wno-poison-system-directories": due to meson test
# "-march=native": without, or with -mcpu=apple-m1 then unavailable __ARM_FEATURE_s get enabled
- xcode: "15.2"
os: macos-14 # arm64
arch_flags: -march=native -Wno-poison-system-directories
Expand All @@ -800,7 +783,7 @@ jobs:
# "-Wno-poison-system-directories": due to meson test
# "-march=native": without, or with -mcpu=apple-m1 then unavailable __ARM_FEATURE_s get enabled
- xcode: "16.0"
os: macos-14 # arm64
os: macos-15 # arm64
arch_flags: -march=native -Wno-poison-system-directories
# "-Wno-poison-system-directories": due to meson test
# "-march=native": without, or with -mcpu=apple-m1 then unavailable __ARM_FEATURE_s get enabled
Expand Down Expand Up @@ -868,30 +851,6 @@ jobs:
- name: Test
run: meson test -C build --print-errorlogs $(meson test -C build --list | grep -v emul)

msvc-arm64:
name: Windows MSVC-AArch64
runs-on: [windows-latest]
env:
CFLAGS: /WX /Z7
CXXFLAGS: /WX /Z7
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Meson, Ninja and coverage
run: |
python3 -m pip install --upgrade ninja meson
choco install opencppcoverage codecov
- name: Use ARM64 Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64_arm64
- name: Configure and Build
run: |
meson --backend=ninja build --cross-file test/arm64cl.txt
ninja -C build test

linux-gcc-loongarch64:
runs-on: ubuntu-24.04
steps:
Expand Down