fix ci (#79)
This commit is contained in:
10
.github/workflows/archive_steamos.yml
vendored
10
.github/workflows/archive_steamos.yml
vendored
@@ -15,11 +15,11 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
- name: "Install and cache dependencies (Linux)"
|
- name: install linux dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
if: runner.os == 'linux'
|
||||||
with:
|
run: |
|
||||||
packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
sudo apt-get update
|
||||||
version: 1.0
|
sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
9
.github/workflows/archive_win.yml
vendored
9
.github/workflows/archive_win.yml
vendored
@@ -20,11 +20,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
which cargo-xwin || cargo install --locked cargo-xwin
|
which cargo-xwin || cargo install --locked cargo-xwin
|
||||||
|
|
||||||
- name: "Install and cache dependencies (Windows)"
|
- name: install dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
run: |
|
||||||
with:
|
sudo apt-get update
|
||||||
packages: lld clang cmake ninja-build
|
sudo apt-get install -y lld clang cmake ninja-build
|
||||||
version: 1.0
|
|
||||||
|
|
||||||
- name: Build binaries (Windows)
|
- name: Build binaries (Windows)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -22,13 +22,18 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
- name: "Install and cache dependencies (Linux)"
|
# - name: "Install and cache dependencies (Linux)"
|
||||||
|
# if: runner.os == 'linux'
|
||||||
|
# uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
|
# with:
|
||||||
|
# packages: libasound2-dev libwayland-dev
|
||||||
|
# version: 2
|
||||||
|
#
|
||||||
|
- name: install linux dependencies
|
||||||
if: runner.os == 'linux'
|
if: runner.os == 'linux'
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
run: |
|
||||||
with:
|
sudo apt-get update
|
||||||
packages: libasound2-dev libwayland-dev
|
sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||||
version: 1
|
|
||||||
debug: true
|
|
||||||
|
|
||||||
- name: Formatting
|
- name: Formatting
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
10
.github/workflows/ci_debug.yml
vendored
10
.github/workflows/ci_debug.yml
vendored
@@ -15,11 +15,11 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
|
|
||||||
- name: "Install and cache dependencies (Linux)"
|
- name: install linux dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
if: runner.os == 'linux'
|
||||||
with:
|
run: |
|
||||||
packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
sudo apt-get update
|
||||||
version: 1.0
|
sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||||
|
|
||||||
- name: Build client
|
- name: Build client
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
11
.github/workflows/steam_alpha.yml
vendored
11
.github/workflows/steam_alpha.yml
vendored
@@ -106,7 +106,7 @@ jobs:
|
|||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
with:
|
with:
|
||||||
packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
packages: libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
|
||||||
version: 1.0
|
version: 2
|
||||||
|
|
||||||
- uses: leafwing-studios/cargo-cache@v2
|
- uses: leafwing-studios/cargo-cache@v2
|
||||||
with:
|
with:
|
||||||
@@ -189,11 +189,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
which cargo-xwin || cargo install --locked cargo-xwin
|
which cargo-xwin || cargo install --locked cargo-xwin
|
||||||
|
|
||||||
- name: "Install and cache dependencies (Windows)"
|
- name: install dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
run: |
|
||||||
with:
|
sudo apt-get update
|
||||||
packages: lld clang cmake ninja-build
|
sudo apt-get install -y lld clang cmake ninja-build
|
||||||
version: 1.0
|
|
||||||
|
|
||||||
- name: Build binaries (Windows)
|
- name: Build binaries (Windows)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user