Update .gitea/workflows/CI.yaml

This commit is contained in:
Jan Gleytenhoover 2025-01-14 11:30:58 +00:00
parent 6bb4c594ea
commit 9459ac52ab

View File

@ -15,20 +15,10 @@ jobs:
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ gitea.token }} password: ${{ gitea.token }}
steps: steps:
- name: Checkout - run: apt update && apt install cmake xorg-dev libglu1-mesa-dev clang -y
uses: https://git.kjan.de/actions/checkout@v4 - uses: actions/checkout@v4
- name: ⚡ Cache - uses: actions-rust-lang/setup-rust-toolchain@v1
uses: https://git.kjan.de/actions/cache@v4 - run: cargo build
with:
path: |
~/.cargo/registry
~/.cargo/git
target/release/deps
target/release/build
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Build
run: cargo build --release
- name: Upload artifacts - name: Upload artifacts
uses: https://git.kjan.de/actions/upload-artifact@v4 uses: https://git.kjan.de/actions/upload-artifact@v4
with: with: