origin-shift/.gitea/workflows/CI.yaml

28 lines
640 B
YAML
Raw Normal View History

2024-08-12 07:11:32 +00:00
name: builder
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
container:
image: git.kjan.de/actions/rust-node:latest
credentials:
username: ${{ gitea.actor }}
password: ${{ gitea.token }}
steps:
- run: apt update && apt install cmake xorg-dev libglu1-mesa-dev clang -y
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo build
2024-08-12 07:11:32 +00:00
- name: Upload artifacts
uses: https://git.kjan.de/actions/upload-artifact@v4
2024-08-12 07:11:32 +00:00
with:
name: build
path: target/release/passwd-cooker