FeDirect/.forgejo/workflows/ci.yaml
kio 9f5e6115e9
All checks were successful
Build & Test / build-run (push) Successful in 58s
openssl-libs-static
2025-02-03 22:41:02 +00:00

24 lines
739 B
YAML

name: Build & Test
on: [push]
jobs:
build-run:
runs-on: docker
container:
image: alpine
steps:
- name: Get Dependancies
run: apk add --no-cache musl-dev curl gcc deno git nodejs pkgconfig openssl openssl-dev openssl-libs-static
- name: download Rustup
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
- name: configure new path
run: source $HOME/.cargo/env
- name: Checkout repo
uses: actions/checkout@v4
with:
deno-version: v2.x
- name: Build using Cargo
run: ~/.cargo/bin/cargo build --verbose
- name: Run unit tests
run: ~/.cargo/bin/cargo test --verbose