Jan Gleytenhoover
1d669da704
Some checks failed
builder / build (push) Has been cancelled
Reviewed-on: #61
28 lines
640 B
YAML
28 lines
640 B
YAML
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
|
|
- name: Upload artifacts
|
|
uses: https://git.kjan.de/actions/upload-artifact@v4
|
|
with:
|
|
name: build
|
|
path: target/release/passwd-cooker
|
|
|