Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marirs committed Feb 11, 2024
1 parent e1144a6 commit cd1e9b9
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/linux_arm7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Linux Arm7
on:
pull_request:
push:
branches:
- master
- main
paths-ignore:
- '**/README.md'
- '**/.gitignore'
- '**/*.sh'

jobs:
build:
name: Linux ARMv7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: armv7-unknown-linux-gnueabihf
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --target armv7-unknown-linux-gnueabihf


27 changes: 27 additions & 0 deletions .github/workflows/linux_x86-64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Linux x86_64
on:
pull_request:
push:
branches:
- master
- main
paths-ignore:
- '**/README.md'
- '**/.gitignore'
- '**/*.sh'

jobs:
build:
name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { rust: stable, os: ubuntu-latest }
steps:
- uses: actions/checkout@v2
- uses: actions-rs/cargo@v1
with:
toolchain: ${{ matrix.rust }}
command: build
27 changes: 27 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: macOS
on:
pull_request:
push:
branches:
- master
- main
paths-ignore:
- '**/README.md'
- '**/.gitignore'
- '**/*.sh'

jobs:
test:
name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { rust: stable, os: macos-latest }
steps:
- uses: actions/checkout@v2
- uses: actions-rs/cargo@v1
with:
toolchain: ${{ matrix.rust }}
command: build
27 changes: 27 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Windows
on:
pull_request:
push:
branches:
- master
- main
paths-ignore:
- '**/README.md'
- '**/.gitignore'
- '**/*.sh'

jobs:
test:
name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { rust: stable, os: windows-latest }
steps:
- uses: actions/checkout@v2
- uses: actions-rs/cargo@v1
with:
toolchain: ${{ matrix.rust }}
command: build

0 comments on commit cd1e9b9

Please sign in to comment.