-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
94 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Runs build related jobs. | ||
|
||
name: build | ||
|
||
on: | ||
push: | ||
branches: [main, next] | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
metal: | ||
name: Build for metal | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, nightly] | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Build for metal | ||
run: | | ||
rustup update --no-self-update ${{ matrix.toolchain }} | ||
make exec-metal | ||
sve: | ||
name: Build for sve | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, nightly] | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Build for sve | ||
run: | | ||
rustup update --no-self-update ${{ matrix.toolchain }} | ||
make exec-sve | ||
avx2: | ||
name: Build for avx2 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, nightly] | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Build for avx2 | ||
run: | | ||
rustup update --no-self-update ${{ matrix.toolchain }} | ||
make exec-avx2 | ||
no-std: | ||
name: Build for no-std | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, nightly] | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Build for no-std | ||
run: | | ||
rustup update --no-self-update ${{ matrix.toolchain }} | ||
rustup target add wasm32-unknown-unknown | ||
make build-no-std |
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
This file was deleted.
Oops, something went wrong.