Skip to content

Commit

Permalink
Make: Versioning Ubuntu CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Oct 13, 2024
1 parent 09e7071 commit 99a0638
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
versioning:
name: Update Version
runs-on: ubuntu-24
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:

test_alpine:
name: Alpine Linux
runs-on: ubuntu-24
runs-on: ubuntu-24.04
container:
image: alpine:latest
options: --privileged # If needed for certain Docker operations
Expand Down Expand Up @@ -451,7 +451,7 @@ jobs:
]
strategy:
matrix:
os: [ubuntu-24, macos-13, windows-2022]
os: [ubuntu-24.04, macos-13, windows-2022]
python-version: ["36", "37", "38", "39", "310", "311", "312"]
steps:
- uses: actions/checkout@v4
Expand All @@ -462,7 +462,7 @@ jobs:

# We only need QEMU for Linux builds
- name: Setup QEMU
if: matrix.os == 'ubuntu-24'
if: matrix.os == 'ubuntu-24.04'
uses: docker/setup-qemu-action@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
versioning:
name: Update Version
runs-on: ubuntu-24
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:

rebase:
name: Rebase Dev. Branch
runs-on: ubuntu-24
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/main'
needs: versioning
steps:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
needs: versioning
strategy:
matrix:
os: [ubuntu-24, macos-13, windows-2022]
os: [ubuntu-24.04, macos-13, windows-2022]
python-version: ["36", "37", "38", "39", "310", "311", "312"]
steps:
- uses: actions/checkout@v4
Expand All @@ -90,7 +90,7 @@ jobs:
with:
python-version: 3.x
- name: Setup QEMU
if: matrix.os == 'ubuntu-24' # We only need QEMU for Linux builds
if: matrix.os == 'ubuntu-24.04' # We only need QEMU for Linux builds
uses: docker/setup-qemu-action@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
# publish_javascript:
# name: Publish JavaScript
# needs: versioning
# runs-on: ubuntu-24
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# with:
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,28 @@ __Who is this for?__
<span style="color:#ABABAB;">arm:</span> <b>25.8</b> MB/s
</td>
</tr>
<!-- Mapping Characters with Look-Up Table Transforms -->
<tr>
<td colspan="4" align="center">Mapping Characters with Look-Up Table Transforms</td>
</tr>
<tr>
<td align="center">⚪</td>
<td align="center">
<code>transform</code><br/>
<span style="color:#ABABAB;">x86:</span> <b>3.81</b> &centerdot;
<span style="color:#ABABAB;">arm:</span> <b>2.65</b> GB/s
</td>
<td align="center">
<code>str.translate</code><br/>
<span style="color:#ABABAB;">x86:</span> <b>260.0</b> &centerdot;
<span style="color:#ABABAB;">arm:</span> <b>140.0</b> MB/s
</td>
<td align="center">
<code>sz_look_up_transform</code><br/>
<span style="color:#ABABAB;">x86:</span> <b>21.2</b> &centerdot;
<span style="color:#ABABAB;">arm:</span> <b>8.5</b> GB/s
</td>
</tr>
<!-- Sorting -->
<tr>
<td colspan="4" align="center">Get sorted order, ≅ 8 million English words <sup>6</sup></td>
Expand Down
1 change: 1 addition & 0 deletions include/stringzilla/stringzilla.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,7 @@ class basic_string_slice {
* * `try_` exception-free "try" operations that returning non-zero values on success,
* * `replace_all` and `erase_all` similar to Boost,
* * `edit_distance` - Levenshtein distance computation reusing the allocator,
* * `translate` - character mapping,
* * `randomize`, `random` - for fast random string generation.
*
* Functions defined for `basic_string_slice`, but not present in `basic_string`:
Expand Down

0 comments on commit 99a0638

Please sign in to comment.