This repository has been archived by the owner on Feb 10, 2025. It is now read-only.
Added gaussian blur, some refactor, fast gaussian, fixes MSVC #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/marketplace/actions/run-on-architecture | |
name: Foreign architectures | |
on: | |
push: | |
branches: | |
- '*' | |
- '!ci_test_*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
- '!ci_test_*' | |
# [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
multiarch: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: true | |
matrix: | |
include: | |
- arch: aarch64 | |
distro: ubuntu_latest | |
cxx_flags: -Wno-psabi | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build and test | |
uses: uraimo/[email protected] | |
id: build | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ${{ matrix.distro }} | |
# Not required, but speeds up builds | |
githubToken: ${{ github.token }} | |
env: | | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
install: | | |
apt-get update -q -y | |
apt-get install -q -y --no-install-recommends \ | |
build-essential \ | |
cmake \ | |
ninja-build \ | |
git \ | |
; | |
apt-get reinstall -y ca-certificates | |
update-ca-certificates | |
run: | | |
export GIT_SSL_NO_VERIFY=1 | |
git config --global http.sslverify false | |
git clone --branch widen_mul https://token:${GITHUB_TOKEN}@github.com/awxkee/highway | |
export CMAKE_BUILD_PARALLEL_LEVEL=2 | |
export CTEST_PARALLEL_LEVEL=2 | |
CXXFLAGS=${{ matrix.cxx_flags }} cmake -GNinja ${{ matrix.cmake_flags }} -B out . | |
ninja -j 8 -C out | |
ctest --test-dir out |