Skip to content

Commit

Permalink
Print different bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
automainint committed Apr 21, 2024
1 parent 04ffacd commit 01caea2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
os: [ ubuntu, windows, macos ]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- name: Run the test
Expand All @@ -31,5 +31,5 @@ jobs:
- uses: actions/upload-artifact@v4
if: always()
with:
name: mapping-${{ matrix.os }}.txt
name: mapping_${{ matrix.os }}.txt
path: mapping.txt
4 changes: 2 additions & 2 deletions mapping_test.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cargo test
if cmp "mapping.txt" "mapping_ref.txt"; then
if cmp -b "mapping.txt" "mapping_ref.txt"; then
echo "OK"
else
echo "FAIL: indices don't match the reference"
exit 1
fi
cargo test --release
if cmp "mapping.txt" "mapping_ref.txt"; then
if cmp -b "mapping.txt" "mapping_ref.txt"; then
echo "OK"
else
echo "FAIL: indices don't match the reference"
Expand Down

0 comments on commit 01caea2

Please sign in to comment.