mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Alpine Linux
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: Build on Alpine ${{ matrix.arch }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
arch:
|
|
- x86_64
|
|
- x86
|
|
- aarch64
|
|
- armv7
|
|
- ppc64le
|
|
- riscv64
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Install latest Alpine Linux for ${{ matrix.arch }}
|
|
uses: jirutka/setup-alpine@v1
|
|
with:
|
|
arch: ${{ matrix.arch }}
|
|
branch: ${{ matrix.arch == 'riscv64' && 'edge' || 'latest-stable' }}
|
|
packages: >
|
|
build-base
|
|
cmake
|
|
g++
|
|
linux-headers
|
|
git
|
|
bash
|
|
build-base
|
|
- name: Prepare
|
|
run: |
|
|
cmake -DFASTFLOAT_TEST=ON -B build
|
|
shell: alpine.sh {0}
|
|
- name: Build
|
|
run: |
|
|
cmake --build build
|
|
shell: alpine.sh {0}
|
|
- name: Test
|
|
run: |
|
|
ctest --test-dir build -R basictest
|
|
shell: alpine.sh {0}
|