-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from cryspen/karthik/mutable-inputs
SIMD SHA-3 and memory usage optimizations
- Loading branch information
Showing
53 changed files
with
4,535 additions
and
2,806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Platform | ||
|
||
on: | ||
push: | ||
branches: ["main", "dev"] | ||
pull_request: | ||
branches: ["main", "dev", "*"] | ||
workflow_dispatch: | ||
merge_group: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
platform: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
bits: [32, 64] | ||
os: | ||
- macos-13 # Intel mac | ||
- macos-latest # macos-14 m1 | ||
- ubuntu-latest | ||
- windows-latest | ||
exclude: | ||
- bits: 32 | ||
os: "macos-latest" | ||
- bits: 32 | ||
os: "macos-13" | ||
|
||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: sys/platform | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: π¨ Build | ||
run: cargo build --verbose | ||
|
||
- name: ππ»ββοΈ Test | ||
run: cargo test --verbose -- --nocapture | ||
|
||
- name: ππ»ββοΈ Test Release | ||
run: cargo test --verbose --release -- --nocapture | ||
|
||
- name: π οΈ Setup Linux x86 | ||
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }} | ||
run: | | ||
rustup target add i686-unknown-linux-gnu | ||
sudo apt-get update | ||
sudo apt-get install -y gcc-multilib g++-multilib | ||
- name: ππ»ββοΈ Test Linux x86 | ||
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }} | ||
run: cargo test --verbose --target i686-unknown-linux-gnu -- --nocapture | ||
|
||
- name: ππ»ββοΈ Test Release Linux x86 | ||
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }} | ||
run: cargo test --verbose --release --target i686-unknown-linux-gnu -- --nocapture | ||
|
||
- name: ππ»ββοΈ Test Windows x86 | ||
if: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }} | ||
run: cargo test --verbose --target i686-pc-windows-msvc -- --nocapture | ||
|
||
- name: ππ»ββοΈ Test Release Windows x86 | ||
if: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }} | ||
run: cargo test --verbose --release --target i686-pc-windows-msvc -- --nocapture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.