Skip to content

Commit

Permalink
GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Nov 5, 2023
1 parent 77ee1ae commit df8d576
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: CI

on:
- push
- pull_request

jobs:
ubuntu_cargo_build:
name: (Ubuntu) Cargo Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: build release
uses: actions-rs/cargo@v1
with:
command: build
args: --release

macos_cargo_build:
name: (MacOS) Cargo Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: build release
uses: actions-rs/cargo@v1
with:
command: build
args: --release

ubuntu_cargo_test:
name: (Ubuntu) Cargo Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: build release
uses: actions-rs/cargo@v1
with:
command: test

macos_cargo_test:
name: (MacOS) Cargo Test
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: build release
uses: actions-rs/cargo@v1
with:
command: test

0 comments on commit df8d576

Please sign in to comment.