mirror of
https://github.com/redstrate/Physis.git
synced 2025-05-18 16:07:46 +00:00
Build on retail runner
This commit is contained in:
parent
6a09348af3
commit
079dccbd50
1 changed files with 18 additions and 5 deletions
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
|
@ -31,11 +31,6 @@ jobs:
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
target/
|
target/
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install \
|
|
||||||
libunshield-dev \
|
|
||||||
- name: Install Cargo dependencies
|
- name: Install Cargo dependencies
|
||||||
if: steps.cache-deps.outputs.cache-hit != 'true'
|
if: steps.cache-deps.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
@ -64,3 +59,21 @@ jobs:
|
||||||
- name: Run semver-checks
|
- name: Run semver-checks
|
||||||
run: |
|
run: |
|
||||||
cargo semver-checks check-release
|
cargo semver-checks check-release
|
||||||
|
|
||||||
|
retail-test:
|
||||||
|
runs-on: retail
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
id: cache-deps
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/bin/
|
||||||
|
~/.cargo/registry/index/
|
||||||
|
~/.cargo/registry/cache/
|
||||||
|
~/.cargo/git/db/
|
||||||
|
target/
|
||||||
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --verbose
|
||||||
|
|
Loading…
Add table
Reference in a new issue