Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakhran committed Jun 9, 2024
1 parent cfda45f commit a34f8da
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ on:

env:
CARGO_TERM_COLOR: always
#SCCACHE_GHA_ENABLED: "true"
#RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
#- name: Run sccache-cache
# uses: mozilla-actions/sccache-action@v0.0.3
#- name: Install Windows toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: false
# target: x86_64-pc-windows-gnu
#- name: Build for Windows
# run: cargo build --verbose --release --target x86_64-pc-windows-gnu
- name: Run sccache-cache
uses: mozilla-actions/sccache-action
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y libudev-dev libxdo-dev librust-atk-dev libgtk-3-dev gcc-mingw-w64
- name: Install target for Windows
run: rustup target add x86_64-pc-windows-gnu
- name: Run clippy
run: cargo clippy --all-targets --all-features
- name: Build for Windows
run: cargo build --verbose --release --target x86_64-pc-windows-gnu
- name: Build for Linux
run: cargo build --verbose --release
#- name: Run sccache stat for check
# shell: bash
# run: ${SCCACHE_PATH} --show-stats

0 comments on commit a34f8da

Please sign in to comment.