mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2026-01-28 13:26:18 +00:00
Compare commits
5 Commits
master
...
github-wor
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edfdf8e511 | ||
|
|
8eac4a01f4 | ||
|
|
0e07af99a0 | ||
|
|
069c70708d | ||
|
|
f994de59e9 |
11
.github/workflows/build-fio.yml
vendored
11
.github/workflows/build-fio.yml
vendored
@@ -10,9 +10,6 @@ jobs:
|
|||||||
latest-version: ${{ steps.get-version.outputs.version }}
|
latest-version: ${{ steps.get-version.outputs.version }}
|
||||||
should-build: ${{ steps.check-version.outputs.should-build }}
|
should-build: ${{ steps.check-version.outputs.should-build }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Get latest fio release
|
- name: Get latest fio release
|
||||||
id: get-version
|
id: get-version
|
||||||
run: |
|
run: |
|
||||||
@@ -58,9 +55,6 @@ jobs:
|
|||||||
host: arm-linux-gnueabihf
|
host: arm-linux-gnueabihf
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@@ -107,9 +101,10 @@ jobs:
|
|||||||
cd ~
|
cd ~
|
||||||
curl -L -4 --retry 5 --retry-delay 2 --connect-timeout 15 "https://github.com/axboe/fio/archive/\$VERSION.tar.gz" -o "fio.tar.gz"
|
curl -L -4 --retry 5 --retry-delay 2 --connect-timeout 15 "https://github.com/axboe/fio/archive/\$VERSION.tar.gz" -o "fio.tar.gz"
|
||||||
tar xf fio.tar.gz
|
tar xf fio.tar.gz
|
||||||
cd fio-\${VERSION#fio-}*
|
cd fio*
|
||||||
|
CFLAGS+=' -include linux/falloc.h'
|
||||||
CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
|
CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
|
||||||
make
|
make EXTLIBS+=' -latomic'
|
||||||
|
|
||||||
# verify no external shared library links
|
# verify no external shared library links
|
||||||
libcheck fio
|
libcheck fio
|
||||||
|
|||||||
Reference in New Issue
Block a user