fix: make risc-v isa detection nicer #400
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
name: Debian pkg-config | |
on: [push, pull_request] | |
defaults: | |
run: | |
shell: sh | |
permissions: | |
contents: read | |
jobs: | |
pkg-config: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:testing | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apt -y update | |
apt -y --no-install-recommends install g++ cmake make pkg-config | |
- name: Build and install | |
run: | | |
cmake -B build | |
cmake --build build | |
cmake --install build | |
- name: Test pkg-config | |
run: g++ tools/sutf.cpp -Itools $(pkg-config --cflags --libs simdutf) -o sutf |