This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
no sudo #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust build&test fedora | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [arc-runner-set] | |
runs-on: ${{ matrix.os }} | |
container: docker.io/rust:1.67 | |
steps: | |
- name: Install | |
run: apt update && apt upgrade -y && apt install -y git build-essential cmake curl pkg-config libssl-dev | |
- name: Setup cmake | |
uses: jwlawson/actions-setup-cmake@v1.13 | |
with: | |
cmake-version: '3.24.x' | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build | |
run: cargo build -vv | |
- name: Run tests | |
run: cargo test -vv |