Skip to content

Update README.md

Update README.md #339

Workflow file for this run

name: cicd
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-ubuntu:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: setup
run: sudo apt-get update && sudo apt-get -y -qq install clang-tidy cppcheck cflow spell gcc-powerpc64-linux-gnu gcc-powerpc-linux-gnu gcc-aarch64-linux-gnu gcc-i686-linux-gnu qemu-user-binfmt
- name: test-main
run: make LLVM_VERSION=14 CC=clang
working-directory: .
- name: bench-main
run: make LLVM_VERSION=14 CC=clang bench
working-directory: .
- name: test-multiplatform
run: make test-multiplatform CC=clang
working-directory: .
- name: test-cpp-translation-unit
run: make LLVM_VERSION=14 CC=clang CXX=clang++ test-cpp-translation-unit
working-directory: .
- uses: actions/upload-artifact@v3
if: failure()
with:
name: buddy_alloc.h.gcov
path: ./buddy_alloc.h.gcov
if-no-files-found: warn
build-windows:
runs-on: windows-latest
strategy:
matrix:
arch: [amd64, amd64_x86, amd64_arm64]
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: Build Windows target
run: |
cmake -G "NMake Makefiles" .
nmake
- name: Run Tests
# Skip tests on ARM (cross-compilation)
if: ${{ !contains( matrix.arch, 'amd64_arm' ) }}
run: |
./buddy_tests