diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 1dbd1895..ee318c8f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -18,7 +18,7 @@ jobs: architecture: -m64 vcpkgtriplet: x64-linux sourcefile: main.cpp - download-datafiles: true + download-datafiles: http://mattmahoney.net/dc/enwik9.zip compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS outputfile: benchmark reportdir: gcc-x64 @@ -31,7 +31,7 @@ jobs: architecture: -m64 vcpkgtriplet: x64-linux sourcefile: main.cpp - download-datafiles: true + download-datafiles: http://mattmahoney.net/dc/enwik9.zip compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS outputfile: benchmark reportdir: clang-x64 @@ -44,7 +44,7 @@ jobs: architecture: -m64 vcpkgtriplet: arm64-osx sourcefile: main.cpp - download-datafiles: true + download-datafiles: http://mattmahoney.net/dc/enwik9.zip compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS -DNUM_THREADS=8 outputfile: benchmark reportdir: clang-arm64 @@ -57,7 +57,7 @@ jobs: architecture: -m32 vcpkgtriplet: x86-linux sourcefile: main.cpp - download-datafiles: true + download-datafiles: http://mattmahoney.net/dc/enwik8.zip compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS outputfile: benchmark reportdir: gcc-x86 @@ -70,7 +70,7 @@ jobs: architecture: -m32 vcpkgtriplet: x86-linux sourcefile: main.cpp - download-datafiles: true + download-datafiles: http://mattmahoney.net/dc/enwik8.zip compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS outputfile: benchmark reportdir: clang-x86 @@ -93,12 +93,12 @@ jobs: if: matrix.download-datafiles run: | cd $GITHUB_WORKSPACE - curl http://mattmahoney.net/dc/enwik9.zip --output enwik9.zip - unzip enwik9.zip - rm enwik9.zip - curl http://mattmahoney.net/dc/enwik8.zip --output enwik8.zip - unzip enwik8.zip - rm enwik8.zip + for URL in ${{matrix.download-datafiles}}; do + FILENAME="${URL##*/}" + curl URL --output FILENAME + unzip FILENAME + rm FILENAME + done - name: Install Boost run: | cd $GITHUB_WORKSPACE