Skip to content

Commit

Permalink
ci: get jammy with it
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Apr 24, 2022
1 parent 8cf8907 commit dc5fe70
Showing 1 changed file with 40 additions and 9 deletions.
49 changes: 40 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,31 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
container:
image: buildpack-deps:jammy

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install tools
run: |
apt update
apt install -y \
libgtk-3-dev \
build-essential \
libssl-dev \
openssl \
pkg-config\
curl
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Install tools
run: sudo apt update && sudo apt install libgtk-3-dev -y

- name: Add clippy
run: rustup component add clippy

Expand All @@ -52,20 +63,30 @@ jobs:
tests:
name: tests
runs-on: ubuntu-latest
container:
image: buildpack-deps:jammy
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install tools
run: |
apt update
apt install -y \
libgtk-3-dev \
build-essential \
libssl-dev \
openssl \
pkg-config\
curl
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Install tools
run: sudo apt update && sudo apt install libgtk-3-dev -y

# TODO: incorporate code coverage with tarpaulin or grcov
- name: Run tests
uses: actions-rs/cargo@v1
Expand All @@ -76,20 +97,30 @@ jobs:
compile:
name: build
runs-on: ubuntu-latest
container:
image: buildpack-deps:jammy
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install tools
run: |
apt update
apt install -y \
libgtk-3-dev \
build-essential \
libssl-dev \
openssl \
pkg-config\
curl
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Install tools
run: sudo apt update && sudo apt install libgtk-3-dev -y

- name: Compile
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit dc5fe70

Please sign in to comment.