Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Generate Cargo.lock
run: cargo generate-lockfile

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'MacOS')

- name: install libgtk-3-dev libx11-dev
run: |
sudo apt update
Expand Down Expand Up @@ -138,6 +150,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Generate Cargo.lock
run: cargo generate-lockfile

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'MacOS')

# libgtk-dev seems to be needed by e.g. druid-derive
- name: install libgtk-dev
run: |
Expand Down Expand Up @@ -239,6 +263,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Generate Cargo.lock
run: cargo generate-lockfile

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'MacOS')

- name: install libgtk-dev libx11-dev
run: |
sudo apt update
Expand Down Expand Up @@ -302,6 +338,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Generate Cargo.lock
run: cargo generate-lockfile

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'MacOS')

- name: install libgtk-dev
run: |
sudo apt update
Expand Down Expand Up @@ -354,6 +402,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Generate Cargo.lock
run: cargo generate-lockfile

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'MacOS')

- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down