Skip to content
Closed
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
44 changes: 40 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo apt update
sudo apt install -y clang-format-18
- name: Run format check
run: bash tools/check_format.sh
Expand All @@ -43,8 +44,11 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install build dependencies (Linux)
run: sudo apt install ${{ matrix.assembler }}
run: sudo apt update && sudo apt install ${{ matrix.assembler }}
if: runner.os == 'Linux'
- name: Untap untrusted taps (macOS)
run: brew untap aws/tap || true
if: runner.os == 'macOS'
- name: Install build dependencies (Macos)
run: brew install ${{ matrix.assembler }} automake autoconf coreutils libtool
if: runner.os == 'macOS'
Expand All @@ -58,13 +62,28 @@ jobs:
- name: Run extended tests
run: bash tools/test_extended.sh

run_tests_linux_arm64:
needs: check_format
runs-on: ubuntu-26.04-arm
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Build
run: |
./autogen.sh
./configure --prefix ${HOME}/.local
bash -c 'make -j $(nproc)'
- name: Run tests
run: bash tools/test_checks.sh
- name: Run extended tests
run: bash tools/test_extended.sh

run_tests_mingw_linux_64:
needs: check_format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install build dependencies (Linux)
run: sudo apt install nasm mingw-w64
run: sudo apt update && sudo apt install nasm mingw-w64
- name: Build
shell: bash
run: |
Expand All @@ -77,7 +96,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install build dependencies (Linux)
run: sudo apt install nasm mingw-w64
run: sudo apt update && sudo apt install nasm mingw-w64
- name: Build
shell: bash
run: |
Expand Down Expand Up @@ -154,8 +173,11 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install build dependencies (Linux)
run: sudo apt install nasm zlib1g-dev
run: sudo apt update && sudo apt install nasm zlib1g-dev
if: runner.os == 'Linux'
- name: Untap untrusted taps (macOS)
run: brew untap aws/tap || true
if: runner.os == 'macOS'
- name: Install build dependencies (macOS)
run: brew install nasm zlib
if: runner.os == 'macOS'
Expand All @@ -166,6 +188,20 @@ jobs:
- name: Run tests
run: ctest --test-dir build --output-on-failure

run_cmake_tests_linux_arm64:
needs: check_format
runs-on: ubuntu-26.04-arm
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install build dependencies
run: sudo apt update && sudo apt install zlib1g-dev
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --parallel
- name: Run tests
run: ctest --test-dir build --output-on-failure

run_cmake_tests_windows:
needs: check_format
runs-on: windows-latest
Expand Down
Loading